You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module, FunctionDef, AsyncFunctionDef, and ClassDef AST nodes now have a new docstring field. The first statement in their body is not considered as a docstring anymore. co_firstlineno and co_lnotab of code object for class and module are affected by this change. (Contributed by INADA Naoki and Eugene Toder in bpo-29463.)
Steps to reproduce
Use the following snippet for
example.py
:Current behavior
Running
Results in
Expected behavior
Silence
pylint --version output
On Windows 10 Pro Build 15063.674
The text was updated successfully, but these errors were encountered: