Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/test/bad_getattr2.py

8 lines
77 B
Python
Raw Normal View History

bpo-32225: Implementation of PEP 562 (#4731) Implement PEP 562: module __getattr__ and __dir__. The implementation simply updates module_getattro and module_dir.
2017-12-14 11:59:44 +01:00
def __getattr__():
"Bad one"
x = 1
def __dir__(bad_sig):
return []
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 481ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API