mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
stdpy: remove commented-out method that is confusing Doxygen
This commit is contained in:
parent
9035b4a610
commit
0668509791
@ -277,13 +277,6 @@ class _local(object):
|
||||
d = _get_thread_locals(core.Thread.getCurrentThread(), id(self))
|
||||
d[key] = value
|
||||
|
||||
## def __getattr__(self, key):
|
||||
## d = _get_thread_locals(core.Thread.getCurrentThread(), id(self))
|
||||
## try:
|
||||
## return d[key]
|
||||
## except KeyError:
|
||||
## raise AttributeError
|
||||
|
||||
def __getattribute__(self, key):
|
||||
d = _get_thread_locals(core.Thread.getCurrentThread(), id(self))
|
||||
if key == '__dict__':
|
||||
@ -292,6 +285,3 @@ class _local(object):
|
||||
return d[key]
|
||||
except KeyError:
|
||||
return object.__getattribute__(self, key)
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user