This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jwilk
Recipients jwilk, methane
Date 2017-02-23.21:50:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487886611.55.0.299835659711.issue29637@psf.upfronthosting.co.za>
In-reply-to
Content
With git master (4c78c527d215c37472145152cb0e95f196cdddc9) I get this:

>>> import ast
>>> ast.get_docstring(ast.parse(''))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jwilk/opt/lib/python3.7/ast.py", line 203, in get_docstring
    text = inspect.cleandoc(text)
  File "/home/jwilk/opt/lib/python3.7/inspect.py", line 590, in cleandoc
    lines = doc.expandtabs().split('\n')
AttributeError: 'NoneType' object has no attribute 'expandtabs'
History
Date User Action Args
2017-02-23 21:50:11jwilksetrecipients: + jwilk, methane
2017-02-23 21:50:11jwilksetmessageid: <1487886611.55.0.299835659711.issue29637@psf.upfronthosting.co.za>
2017-02-23 21:50:11jwilklinkissue29637 messages
2017-02-23 21:50:11jwilkcreate