stdpy: remove commented-out method that is confusing Doxygen

This commit is contained in:
rdb 2018-12-23 15:07:02 +01:00
parent 9035b4a610
commit 0668509791

View File

@ -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)