| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The docstring and library reference described is_nested() as returning True for 'a nested class or function', which wrongly implies any nesting. The underlying flag is only set when the block is nested within a function, so a method of a top-level class is not nested. Reword both descriptions and add a characterizing assertion to test_nested.
Documentation build overview2 files changed ± library/symtable.html ± whatsnew/changelog.html |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The docstring and library reference described is_nested() as returning True
for "a nested class or function", which wrongly implies any nesting. The
underlying flag is only set when the block is nested (directly or indirectly)
within a function, so for example a method of a top-level class returns False.
Reword both descriptions and add a characterizing assertion to test_nested
(a method of a top-level class is not nested).