Kaydet (Commit) c5f15b08 authored tarafından Guido van Rossum's avatar Guido van Rossum

Make the copyright message the same as for the "real" interpreter.

üst da8df6ea
......@@ -216,9 +216,10 @@ class InteractiveConsole(InteractiveInterpreter):
sys.ps2
except AttributeError:
sys.ps2 = "... "
cprt = 'Type "copyright", "credits" or "license" for more information.'
if banner is None:
self.write("Python %s on %s\n%s\n(%s)\n" %
(sys.version, sys.platform, sys.copyright,
(sys.version, sys.platform, cprt,
self.__class__.__name__))
else:
self.write("%s\n" % str(banner))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment