Skip to content

Commit 62d55a4

Browse files
authored
Remove unnecessary pass statements (GH-27103)
1 parent 9c3eaf8 commit 62d55a4

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

Lib/lib2to3/btm_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ def reduce_tree(node, parent=None):
220220
else:
221221
#TODO: handle {min, max} repeaters
222222
raise NotImplementedError
223-
pass
224223

225224
#add children
226225
if details_node and new_node is not None:

Lib/multiprocessing/managers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,6 @@ def __init__(self, *args, **kwargs):
13371337

13381338
def __del__(self):
13391339
util.debug(f"{self.__class__.__name__}.__del__ by pid {getpid()}")
1340-
pass
13411340

13421341
def get_server(self):
13431342
'Better than monkeypatching for now; merge into Server ultimately'

Lib/telnetlib.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@ def process_rawq(self):
489489
except EOFError: # raised by self.rawq_getchar()
490490
self.iacseq = b'' # Reset on EOF
491491
self.sb = 0
492-
pass
493492
self.cookedq = self.cookedq + buf[0]
494493
self.sbdataq = self.sbdataq + buf[1]
495494

0 commit comments

Comments
 (0)