[Python-checkins] CVS: python/dist/src/Modules main.c,1.43,1.44

Guido van Rossum python-dev@python.org
Mon, 4 Sep 2000 21:41:20 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3664

Modified Files:
	main.c 
Log Message:
Instead of printing all 9 lines of copyright info, print

    "Type \"copyright\", \"credits\" or \"license\" for more information."


Index: main.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/main.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** main.c	2000/09/01 23:29:26	1.43
--- main.c	2000/09/05 04:41:18	1.44
***************
*** 19,22 ****
--- 19,25 ----
  #endif
  
+ #define COPYRIGHT \
+     "Type \"copyright\", \"credits\" or \"license\" for more information."
+ 
  /* Interface to getopt(): */
  extern int optind;
***************
*** 223,227 ****
  	    (command == NULL && filename == NULL && stdin_is_interactive))
  		fprintf(stderr, "Python %s on %s\n%s\n",
! 			Py_GetVersion(), Py_GetPlatform(), Py_GetCopyright());
  	
  	
--- 226,230 ----
  	    (command == NULL && filename == NULL && stdin_is_interactive))
  		fprintf(stderr, "Python %s on %s\n%s\n",
! 			Py_GetVersion(), Py_GetPlatform(), COPYRIGHT);