mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
No need to assign the results of expressions used only for side effects.
This commit is contained in:
parent
7d4b759bd9
commit
84fedf7f06
8 changed files with 7 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue