Browse Source

set __doc__ and __name__ for flask shell

pull/2608/head
Jonatan 7 years ago
parent
commit
f9dae717ff
No known key found for this signature in database
GPG Key ID: B739EADEBC511626
  1. 2
      flask/cli.py

2
flask/cli.py

@ -752,7 +752,7 @@ def shell_command():
app.env, app.env,
app.instance_path, app.instance_path,
) )
ctx = {} ctx = {'__doc__': None, '__name__': '__flaskshell__'}
# Support the regular Python interpreter startup script if someone # Support the regular Python interpreter startup script if someone
# is using it. # is using it.

Loading…
Cancel
Save