Commit a22865ec authored by Guido van Rossum's avatar Guido van Rossum

Instead of printing all 9 lines of copyright info, print

    "Type \"copyright\", \"credits\" or \"license\" for more information."
parent f26cda62
......@@ -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) {
......
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