Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit acb29ae

Browse files
author
Skip Montanaro
committed
make default banner match what the real interpreter displays
1 parent 0679a73 commit acb29ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def interact(self, banner=None):
216216
sys.ps2
217217
except AttributeError:
218218
sys.ps2 = "... "
219-
cprt = 'Type "copyright", "credits" or "license" for more information.'
219+
cprt = 'Type "help", "copyright", "credits" or "license" for more information.'
220220
if banner is None:
221221
self.write("Python %s on %s\n%s\n(%s)\n" %
222222
(sys.version, sys.platform, cprt,

0 commit comments

Comments
 (0)