Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21992b6

Browse files
format init of Repl more nicely
1 parent31fd8c9 commit21992b6

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=lambdadesc: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=lambdadesc: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)

[8]ページ先頭

©2009-2025 Movatter.jp