Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork248
Closed
Description
Notice it takes one more <enter> press to get the>>>
prompt back when using...
in a function or class body, compared to usingpass
. On the "extra" line with the three-dots prompt, the cursor is not auto-indented, either. I've added underscores to show where the cursor appears on each line.
bpython version 0.23 on top of Python 3.11.1 /Users/eric/.pyenv/versions/3.11.1/bin/python3.11>>> def foo():... ...... _... _>>> def bar():... pass... _>>> class Foo():... ...... _... _>>> class Bar():... pass... _>>>
For reference, the standardpython
console:
Python 3.11.1 (main, Jan 11 2023, 13:54:50) [Clang 13.0.0 (clang-1300.0.29.30)] on darwinType "help", "copyright", "credits" or "license" for more information.>>> def foo():... ......>>> def bar():... pass...>>> class Foo():... ......>>> class Bar():... pass...>>>
Metadata
Metadata
Assignees
Labels
No labels