- add close method to PoolSingleton class again
This commit is contained in:
1 parent
396a1a791d
commit
c47650fc30
2 files changed
+5
-1
No files matched your search
@@ -32,6 +32,10 @@ class PoolSingleton:
|
||||
def __new__(cls, *args, **kwargs):
|
||||
return select().PoolSingleton(*args, **kwargs)
|
||||
|
||||
@staticmethod
|
||||
def close():
|
||||
return select().PoolSingleton.close()
|
||||
|
||||
|
||||
class Chunks(Iterable):
|
||||
""" Yield successive chunks from lists.
|
||||
|
||||
Reference in new issue
Block a user