Explorar o código

Renamed element 'type' to 'Type'.

Jeroen %!s(int64=12) %!d(string=hai) anos
pai
achega
6b3735078f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pool.py

+ 1 - 1
pool.py

@@ -11,7 +11,7 @@ class QueueObject():
             self.object = self._queue.get()
         return self.object
 
-    def __exit__(self, type, value, traceback):
+    def __exit__(self, Type, value, traceback):
         if self.object is not None:
             self._queue.put(self.object)
             self.object = None