Commit da2af6e3 authored by Stefan Behnel's avatar Stefan Behnel

fix signature embedding test in recent Py3.4

parent bfe7e783
......@@ -4,6 +4,8 @@ import sys
if sys.version_info >= (3, 4):
def funcdoc(f):
if not f.__text_signature__:
return f.__doc__
doc = '%s%s' % (f.__name__, f.__text_signature__)
if f.__doc__:
if '\n' in f.__doc__:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment