Yury Selivanov added the comment: The current patch proposes to add inspect.splitdoc(obj), instead of pydoc.splitdoc(doc). The former takes an object, extracts documentation out of it, and returns a tuple. The latter, just splits the passed doc string.
If you want this function in inspect, we need to find a better name for it, or don't make it to receive an object. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12916> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com