diff options
Diffstat (limited to 'Lib/code.py')
-rw-r--r-- | Lib/code.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/code.py b/Lib/code.py index b308a58..3cd33de 100644 --- a/Lib/code.py +++ b/Lib/code.py @@ -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)) |