mirror of
https://github.com/python/cpython.git
synced 2025-07-25 04:04:13 +00:00

(cherry picked from commit 979d766209
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
8 lines
118 B
Python
8 lines
118 B
Python
def func():
|
|
pass
|
|
func.__module__ = None
|
|
|
|
class A:
|
|
def method(self):
|
|
pass
|
|
method.__module__ = None
|