This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
cpython
mirror of
https://github.com/python/cpython
Watch
4
Star
1
Fork
You've already forked cpython
0
Code
Issues
Releases
Wiki
Activity
cbfd392479
cpython
/
Lib
/
test
/
test_module
/
bad_getattr3.py
6 lines
139 B
Python
Raw
Blame
History
def
__getattr__
(
name
)
:
if
name
!=
'
delgetattr
'
:
raise
AttributeError
del
globals
(
)
[
'
__getattr__
'
]
raise
AttributeError
Reference in New Issue
View Git Blame
Copy Permalink