Skip to content

Commit e50ce9d

Browse files
committed
Remove unused global repl
1 parent 810364f commit e50ce9d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

bpython/curtsies.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
logger = logging.getLogger(__name__)
2222

2323

24-
repl = None # global for `from bpython.curtsies import repl`
25-
# WARNING Will be a problem if more than one repl is ever instantiated this way
26-
27-
2824
class FullCurtsiesRepl(BaseRepl):
2925
def __init__(self, config, locals_, banner, interp=None):
3026
self.input_generator = curtsies.input.Input(
@@ -197,7 +193,6 @@ def curtsies_arguments(parser):
197193
if banner is not None:
198194
print(banner)
199195

200-
global repl
201196
repl = FullCurtsiesRepl(config, locals_, welcome_message, interp)
202197
try:
203198
with repl.input_generator:

0 commit comments

Comments
 (0)