diff options
author | Elisha Hollander <just4now666666@gmail.com> | 2021-07-13 13:02:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 13:02:30 (GMT) |
commit | 62d55a4d11fe25e8981e27e68ba080ab47c3f590 (patch) | |
tree | c7479a58d4d82717371d474580637f98b2a741af | |
parent | 9c3eaf88dc5d5bed80cc45936de06b7b3162bc6d (diff) | |
download | cpython-62d55a4d11fe25e8981e27e68ba080ab47c3f590.zip cpython-62d55a4d11fe25e8981e27e68ba080ab47c3f590.tar.gz cpython-62d55a4d11fe25e8981e27e68ba080ab47c3f590.tar.bz2 |
Remove unnecessary pass statements (GH-27103)
-rw-r--r-- | Lib/lib2to3/btm_utils.py | 1 | ||||
-rw-r--r-- | Lib/multiprocessing/managers.py | 1 | ||||
-rw-r--r-- | Lib/telnetlib.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/Lib/lib2to3/btm_utils.py b/Lib/lib2to3/btm_utils.py index ff76ba3..b61afdb 100644 --- a/Lib/lib2to3/btm_utils.py +++ b/Lib/lib2to3/btm_utils.py @@ -220,7 +220,6 @@ def reduce_tree(node, parent=None): else: #TODO: handle {min, max} repeaters raise NotImplementedError - pass #add children if details_node and new_node is not None: diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index b981b0e..9c7e92f 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -1337,7 +1337,6 @@ if HAS_SHMEM: def __del__(self): util.debug(f"{self.__class__.__name__}.__del__ by pid {getpid()}") - pass def get_server(self): 'Better than monkeypatching for now; merge into Server ultimately' diff --git a/Lib/telnetlib.py b/Lib/telnetlib.py index 8ce053e..ae88ea5 100644 --- a/Lib/telnetlib.py +++ b/Lib/telnetlib.py @@ -489,7 +489,6 @@ class Telnet: except EOFError: # raised by self.rawq_getchar() self.iacseq = b'' # Reset on EOF self.sb = 0 - pass self.cookedq = self.cookedq + buf[0] self.sbdataq = self.sbdataq + buf[1] |