Skip to content

Commit 21992b6

Browse files
format init of Repl more nicely
1 parent 31fd8c9 commit 21992b6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,16 @@ class Repl(BpythonRepl):
203203
"""
204204

205205
## initialization, cleanup
206-
def __init__(self, locals_=None, config=None, request_refresh=lambda: None,
207-
request_reload=lambda desc: None, get_term_hw=lambda:(50, 10),
208-
get_cursor_vertical_diff=lambda: 0, banner=None, interp=None,
209-
interactive=True, orig_tcattrs=None):
206+
def __init__(self,
207+
locals_=None,
208+
config=None,
209+
request_refresh=lambda: None,
210+
request_reload=lambda desc: None, get_term_hw=lambda:(50, 10),
211+
get_cursor_vertical_diff=lambda: 0,
212+
banner=None,
213+
interp=None,
214+
interactive=True,
215+
orig_tcattrs=None):
210216
"""
211217
locals_ is a mapping of locals to pass into the interpreter
212218
config is a bpython config.Struct with config attributes

0 commit comments

Comments
 (0)