mirror of https://github.com/python/cpython
Remove unnecessary pass statements (GH-27103)
This commit is contained in:
parent
9c3eaf88dc
commit
62d55a4d11
|
@ -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:
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue