Remove unnecessary pass statements (GH-27103)

This commit is contained in:
Elisha Hollander 2021-07-13 16:02:30 +03:00 committed by GitHub
parent 9c3eaf88dc
commit 62d55a4d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -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:

View File

@ -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'

View File

@ -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]