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

Add platform to welcome message.

parent 90c6b2bf
......@@ -49,6 +49,7 @@ extern int getopt(); /* PROTO((int, char **, char *)); -- not standardized */
/* Subroutines that live in their own file */
extern char *Py_GetVersion();
extern char *Py_GetPlatform();
extern char *Py_GetCopyright();
......@@ -219,8 +220,8 @@ main(argc, argv)
if (Py_VerboseFlag ||
(command == NULL && filename == NULL && stdin_is_interactive))
fprintf(stderr, "Python %s\n%s\n",
Py_GetVersion(), Py_GetCopyright());
fprintf(stderr, "Python %s on %s\n%s\n",
Py_GetVersion(), Py_GetPlatform(), Py_GetCopyright());
Py_Initialize();
......
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