mirror of
https://github.com/python/cpython
synced 2024-10-14 15:21:52 +00:00
bpo-33908: Remove two superfluous assignments (GH-7116)
Signed-off-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
This commit is contained in:
parent
06e2029dfa
commit
acdc660efc
|
@ -644,7 +644,6 @@ def _read_object(self, ref):
|
|||
elif tokenH == 0x50: # ascii string
|
||||
s = self._get_size(tokenL)
|
||||
result = self._fp.read(s).decode('ascii')
|
||||
result = result
|
||||
|
||||
elif tokenH == 0x60: # unicode string
|
||||
s = self._get_size(tokenL)
|
||||
|
|
|
@ -96,7 +96,6 @@ def getflags(self):
|
|||
flags = 0
|
||||
for var in self.vars:
|
||||
flags = flags | var.get()
|
||||
flags = flags
|
||||
return flags
|
||||
|
||||
def recompile(self, event=None):
|
||||
|
|
Loading…
Reference in a new issue