Skip to content
Closed
2 changes: 1 addition & 1 deletion Lib/pydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2059,7 +2059,7 @@ def interact(self):
while True:
try:
request = self.getline('help> ')
if not request: break
if not request: continue
except (KeyboardInterrupt, EOFError):
break
request = request.strip()
Comment thread
yihong0618 marked this conversation as resolved.
Outdated
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
make the same exit behavior in repl help mode.
Loading