From 0668509791116a11df78b540674c8e6695586a13 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 23 Dec 2018 15:07:02 +0100 Subject: [PATCH] stdpy: remove commented-out method that is confusing Doxygen --- direct/src/stdpy/thread.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/direct/src/stdpy/thread.py b/direct/src/stdpy/thread.py index c10675dd4c..29844b32e2 100644 --- a/direct/src/stdpy/thread.py +++ b/direct/src/stdpy/thread.py @@ -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) - - -