[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
Rukchad Wongprayoon added the comment: maybe try on windows? due to i did this on windows -- status: pending -> open ___ Python tracker <https://bugs.python.org/issu

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
Rukchad Wongprayoon added the comment: seems like it doesn't appear in the help func too -- ___ Python tracker <https://bugs.python.org/issue47148> ___ ___ Pytho

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
Rukchad Wongprayoon added the comment: here's the example code parent/a.py ```py def multiply(): """multiply stuff""" return 69*420 ``` parent/another folder/b.py ```py import sys sys.path.append('..') impo

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
Change by Rukchad Wongprayoon : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue47148> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
New submission from Rukchad Wongprayoon : How to reproduce? 1. Make a random module with doc-string in the function 2. Make a python app in new folder (under the module folder) and import it by do ```py import sys sys.path.append("..") import ``` 3. then every function will don'