]> granicus.if.org Git - python/commitdiff
Add platform to welcome message.
authorGuido van Rossum <guido@python.org>
Mon, 19 May 1997 18:33:01 +0000 (18:33 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 19 May 1997 18:33:01 +0000 (18:33 +0000)
Modules/main.c

index 5d01abdabb43c3d0cb6f68c0f91f8048cb772511..5c631d01bd9c1c85840d3091354e2f356e8dca96 100644 (file)
@@ -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();