You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(bpython)tomb@tom-mba ~$ bpython
bpython version 0.15.dev177 on top of Python 2.7.10 /Users/tomb/.�
virtualenvs/bpython/bin/python2.7
>>> def foo(): pass
...
>>> foo(
┌──────────────────────────────────────────────────┐
│ foo: () │
│ # coding: UTF-8 │
└──────────────────────────────────────────────────┘
in master, functions without docstrings are showing "# coding: UTF-8" as their docstring. Their foo.__doc__ property is None, so it must be a display issue. This isn't a problem in 0.14.2.
The text was updated successfully, but these errors were encountered:
Ah I didn't understand this before but now see now why that helps, because
If there is no docstring, pydoc tries to obtain a description from the block of comment lines just above the definition of the class, function or method in the source file, or at the top of the module (see inspect.getcomments()).
in master, functions without docstrings are showing "# coding: UTF-8" as their docstring. Their
foo.__doc__
property isNone
, so it must be a display issue. This isn't a problem in 0.14.2.The text was updated successfully, but these errors were encountered: