Mark Dickinson added the comment:

Brett: can you clarify---in what sense is the argument optional?  I see that 
there's a doc issue at http://docs.python.org/dev/library/ast.html, where it's 
marked as optional but shouldn't but.  Is there something more that's wrong?

If you mean that ast.YieldFrom can be instantiated without an argument, isn't 
that the same for all the ast classes?

>>> ast.YieldFrom()
<_ast.YieldFrom object at 0x100760f50>
>>> ast.BoolOp()
<_ast.BoolOp object at 0x100760f90>

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16546>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to