Zachary Ware <[email protected]> added the comment:
Also cannot reproduce on Windows:
D:\issue47148_test\parent\another folder>type ..\a.py
def multiply():
"""multiply stuff"""
return 2 * 4
D:\issue47148_test\parent\another folder>type b.py
import sys
sys.path.append('..')
import a
print(a.multiply.__doc__)
D:\issue47148_test\parent\another folder>py b.py
multiply stuff
My best advice would be to try to reproduce it again yourself in a clean
directory, and/or remove all `*.pyc` files and `__pycache__` directories from
your project and try again, making sure you have no environment variables
starting with `PYTHON` set. If you still find you're having trouble, please
reach out in the Users category of discuss.python.org.
----------
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue47148>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com