Zachary Ware added the comment:

The patch looks good to me (aside from extra whitespace on the blank lines in 
methodobject.c, and I agree with Serhiy about s/brackets/parens/).  Also, I 
like the suggestion of using __text_signature__ instead of '(...)'.  However, 
just to avoid any possible issues with __text_signature__ being blank or 
missing, I would go with `argspec = getattr(object, '__text_signature__', '') 
or '(...)'` instead of straight `object.__text_signature__` (and note that 
there are two places to change in pydoc).

----------

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

Reply via email to