Skip to content

Commit cb6eb39

Browse files
committed
Default locals is set-up in super().__init__
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 2480377 commit cb6eb39

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bpython/curtsiesfrontend/interpreter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ def __init__(self, locals=None, encoding=None):
7373
We include an argument for the outfile to pass to the formatter for it
7474
to write to.
7575
"""
76-
if locals is None:
77-
locals = {"__name__": "__console__", "__doc__": None}
7876
if encoding is None:
7977
encoding = getpreferredencoding()
8078
ReplInterpreter.__init__(self, locals, encoding)

0 commit comments

Comments
 (0)