diff options
Diffstat (limited to 'Lib/threading.py')
| -rw-r--r-- | Lib/threading.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/threading.py b/Lib/threading.py index 489713c686..cae2f77c8e 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -85,9 +85,10 @@ class _RLock(_Verbose):          self.__count = 0      def __repr__(self): +        owner = self.__owner          return "<%s(%s, %d)>" % (                  self.__class__.__name__, -                self.__owner and self.__owner.getName(), +                owner and owner.getName(),                  self.__count)      def acquire(self, blocking=1):  | 
