[New-bugs-announce] [issue47148] sys.path.append before import the module causing module don't have doc-string?
Rukchad Wongprayoon
report at bugs.python.org
Tue Mar 29 02:33:29 EDT 2022
New submission from Rukchad Wongprayoon <mooping3roblox at gmail.com>:
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 <module>
```
3. then every function will don't have doc-string included in their function
----------
components: Library (Lib)
messages: 416242
nosy: timelessnesses
priority: normal
severity: normal
status: open
title: sys.path.append before import the module causing module don't have doc-string?
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47148>
_______________________________________
More information about the New-bugs-announce
mailing list