diff options
author | Georg Brandl <georg@python.org> | 2010-02-06 22:59:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-06 22:59:15 (GMT) |
commit | 84fedf7f061797b1fc95b778e517e6dc86e36db2 (patch) | |
tree | fd5291aa914152e1f49eb5197f28b76fedb9e0d3 /Lib/rexec.py | |
parent | 7d4b759bd972742dfba35597708522f91be5548a (diff) | |
download | cpython-84fedf7f061797b1fc95b778e517e6dc86e36db2.zip cpython-84fedf7f061797b1fc95b778e517e6dc86e36db2.tar.gz cpython-84fedf7f061797b1fc95b778e517e6dc86e36db2.tar.bz2 |
No need to assign the results of expressions used only for side effects.
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r-- | Lib/rexec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py index 22b1bb2..7446151 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -244,7 +244,7 @@ class RExec(ihooks._Verbose): m.open = m.file = self.r_open def make_main(self): - m = self.add_module('__main__') + self.add_module('__main__') def make_osname(self): osname = os.name |