Browse Source

stdpy: remove commented-out method that is confusing Doxygen

rdb 7 years ago
parent
commit
0668509791
1 changed files with 0 additions and 10 deletions
  1. 0 10
      direct/src/stdpy/thread.py

+ 0 - 10
direct/src/stdpy/thread.py

@@ -277,13 +277,6 @@ class _local(object):
         d = _get_thread_locals(core.Thread.getCurrentThread(), id(self))
         d = _get_thread_locals(core.Thread.getCurrentThread(), id(self))
         d[key] = value
         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):
     def __getattribute__(self, key):
         d = _get_thread_locals(core.Thread.getCurrentThread(), id(self))
         d = _get_thread_locals(core.Thread.getCurrentThread(), id(self))
         if key == '__dict__':
         if key == '__dict__':
@@ -292,6 +285,3 @@ class _local(object):
             return d[key]
             return d[key]
         except KeyError:
         except KeyError:
             return object.__getattribute__(self, key)
             return object.__getattribute__(self, key)
-
-
-