From: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com> Date: Wed, 20 Jun 2018 05:07:31 +0000 (+0530) Subject: bpo-33908: Remove two superfluous assignments (GH-7116) X-Git-Tag: v3.8.0a1~1525 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acdc660efc2056d8e28d99eaaf79ab60a263bd15;p=python bpo-33908: Remove two superfluous assignments (GH-7116) Signed-off-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> --- diff --git a/Lib/plistlib.py b/Lib/plistlib.py index 21ebec3f00..248f5143f4 100644 --- a/Lib/plistlib.py +++ b/Lib/plistlib.py @@ -644,7 +644,6 @@ class _BinaryPlistParser: 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) diff --git a/Tools/demo/redemo.py b/Tools/demo/redemo.py index 256a63e0a0..f801dfce5f 100755 --- a/Tools/demo/redemo.py +++ b/Tools/demo/redemo.py @@ -96,7 +96,6 @@ class ReDemo: flags = 0 for var in self.vars: flags = flags | var.get() - flags = flags return flags def recompile(self, event=None):