Changed
- Refactored some enumerations into their own files, and moved strictness
checks to the base docstring method. Thanks to skarzi for the pull requests!
It makes the code a good deal cleaner.
Fixed
- Lambdas no longer result in erroneous arguments in the docstring.
Lambdas apparently reuse the Arguments ast node, which means that, since they
were scoped in the same function, they were adding erroneous arguments.
By moving lambdas into their own scope, we resolve that issue. Of course,
if a lambda raises an exception, we will no longer catch that in the
function description. However, doing that seems far less likely, and not
worth the excess logic to handle.