Skip to content

Commit a25fc44

Browse files
committed
Don't pollute the namespace with _internal; delete it after it is no longer needed
1 parent 069e740 commit a25fc44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ def repl(self):
10011001
# stdout instead of our wrapped
10021002
self.push('from bpython import _internal\n')
10031003
self.push('help = _internal._help')
1004+
self.push('del _internal')
10041005

10051006
self.iy, self.ix = self.scr.getyx()
10061007
more = False

0 commit comments

Comments
 (0)