diff options
author | Guido van Rossum <guido@python.org> | 1997-05-19 18:33:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-19 18:33:01 (GMT) |
commit | fe4dfc7ce3b27b8c1fce6de2321f20ac3bd9ce93 (patch) | |
tree | 885d79571b68443f2f232381e1a4eba07e8e0cca /Modules/main.c | |
parent | 650b3aad55f3319d6e604d8db8f79254ef03614d (diff) | |
download | cpython-fe4dfc7ce3b27b8c1fce6de2321f20ac3bd9ce93.zip cpython-fe4dfc7ce3b27b8c1fce6de2321f20ac3bd9ce93.tar.gz cpython-fe4dfc7ce3b27b8c1fce6de2321f20ac3bd9ce93.tar.bz2 |
Add platform to welcome message.
Diffstat (limited to 'Modules/main.c')
-rw-r--r-- | Modules/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/main.c b/Modules/main.c index 5d01abd..5c631d0 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(); |