From: Guido van Rossum Date: Mon, 19 May 1997 18:33:01 +0000 (+0000) Subject: Add platform to welcome message. X-Git-Tag: v1.5a3~531 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe4dfc7ce3b27b8c1fce6de2321f20ac3bd9ce93;p=thirdparty%2FPython%2Fcpython.git Add platform to welcome message. --- diff --git a/Modules/main.c b/Modules/main.c index 5d01abdabb43..5c631d01bd9c 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -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();