]> granicus.if.org Git - python/commitdiff
Instead of printing all 9 lines of copyright info, print
authorGuido van Rossum <guido@python.org>
Tue, 5 Sep 2000 04:41:18 +0000 (04:41 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 5 Sep 2000 04:41:18 +0000 (04:41 +0000)
    "Type \"copyright\", \"credits\" or \"license\" for more information."

Modules/main.c

index 32d7c39ca94f202ebfdcaa2b501ef8070d3847da..fa316cff1b097dfce09f248cb8ef65f842fbcab0 100644 (file)
@@ -18,6 +18,9 @@
 #define PYTHONHOMEHELP "<prefix>/python2.0"
 #endif
 
+#define COPYRIGHT \
+    "Type \"copyright\", \"credits\" or \"license\" for more information."
+
 /* Interface to getopt(): */
 extern int optind;
 extern char *optarg;
@@ -222,7 +225,7 @@ Py_Main(int argc, char **argv)
        if (Py_VerboseFlag ||
            (command == NULL && filename == NULL && stdin_is_interactive))
                fprintf(stderr, "Python %s on %s\n%s\n",
-                       Py_GetVersion(), Py_GetPlatform(), Py_GetCopyright());
+                       Py_GetVersion(), Py_GetPlatform(), COPYRIGHT);
        
        
        if (command != NULL) {