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 techtonik
Recipients docs@python, techtonik
Date 2013-11-10.05:16:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384060618.33.0.960245227555.issue19541@psf.upfronthosting.co.za>
In-reply-to
Content
ast.dump needs an indent argument for pretty printing.

  from pprint import pprint as pp
  pp(ast.dump(node))

  "Assign(targets=[Tuple(elts=[Name(id='d', ctx=Store()), Name(id='m', ctx=Store())], ctx=Store())], value=Call(func=Name(id='divmod', ctx=Load()), args=[Call(func=Name(id='len', ctx=Load()), args=[Name(id='seq', ctx=Load())], keywords=[], starargs=None, kwargs=None), Name(id='size', ctx=Load())], keywords=[], starargs=None, kwargs=None))"
History
Date User Action Args
2013-11-10 05:16:58techtoniksetrecipients: + techtonik, docs@python
2013-11-10 05:16:58techtoniksetmessageid: <1384060618.33.0.960245227555.issue19541@psf.upfronthosting.co.za>
2013-11-10 05:16:58techtoniklinkissue19541 messages
2013-11-10 05:16:57techtonikcreate