At least functions generate docstrings again.
This commit is contained in:
1 parent
22b288fc73
commit
ce5d428d22
3 files changed
+39
-16
No files matched your search
@@ -104,7 +104,8 @@ def get_faked(module, obj, name=None):
|
||||
# Set the docstr which was previously not set (faked modules don't
|
||||
# contain it).
|
||||
doc = '''"""%s"""''' % obj.__doc__ # TODO need escapes.
|
||||
result.add_docstr(tokenize.Token(tokenize.STRING, doc, (0, 0)))
|
||||
# TODO We need to add the docstr in a proper way.
|
||||
#result.add_docstr(tokenize.Token(tokenize.STRING, doc, (0, 0)))
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user