Skip to content

Commit

Permalink
Improve docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder authored Feb 20, 2024
1 parent 33020ef commit b241664
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lupa/_lupa.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,9 @@ cdef class LuaRuntime:
are placed in the table in order.
Nested mappings / iterables are passed to Lua as userdata
(wrapped Python objects). If `recursive` is False (the default),
they are not converted to Lua tables.
(wrapped Python objects) by default. If `recursive` is True,
they are converted to Lua tables recursively, handling loops
and duplicates via identity de-duplication.
"""
assert self._state is not NULL
cdef lua_State *L = self._state
Expand Down

0 comments on commit b241664

Please sign in to comment.