[issue32911] Doc strings omitted from AST

Serhiy Storchaka report at bugs.python.org
Thu Feb 22 08:15:32 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

This isn't a bug, but a feature. You no longer need to check and skip the first statement if it is a literal string. The body attribute now always represents a sequence of statements, and the docstring attribute represents a docstring.

----------
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32911>
_______________________________________


More information about the Python-bugs-list mailing list