summaryrefslogtreecommitdiffstats
path: root/Modules/config.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/config.c.in')
-rw-r--r--Modules/config.c.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 103ee82..4f43241 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -24,6 +24,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Configurable Python configuration file */
+char version[] = "0.9.3 beta (2)";
+
#include <stdio.h>
#ifdef USE_STDWIN
@@ -39,6 +41,11 @@ initargs(p_argc, p_argv)
#ifdef USE_STDWIN
wargs(p_argc, p_argv);
#endif
+ if (*p_argc < 2 && isatty(0) && isatty(1))
+ {
+ printf("Python %s.\n", version);
+ printf("Copyright 1990, 1991 Stichting Mathematisch Centrum, Amsterdam\n");
+ }
}
void