[Python-3000-checkins] r66189 - python/branches/py3k/Modules/main.c

christian.heimes python-3000-checkins at python.org
Wed Sep 3 22:31:08 CEST 2008


Author: christian.heimes
Date: Wed Sep  3 22:31:07 2008
New Revision: 66189

Log:
Fixed wording of python --help text.
The -b option was still using the old name 'buffer' instead of 'bytearray'.

Modified:
   python/branches/py3k/Modules/main.c

Modified: python/branches/py3k/Modules/main.c
==============================================================================
--- python/branches/py3k/Modules/main.c	(original)
+++ python/branches/py3k/Modules/main.c	Wed Sep  3 22:31:07 2008
@@ -56,8 +56,8 @@
 /* Long usage message, split into parts < 512 bytes */
 static char *usage_1 = "\
 Options and arguments (and corresponding environment variables):\n\
--b     : issue warnings about str(bytes_instance), str(buffer_instance)\n\
-         and comparing bytes/buffer with str. (-bb: issue errors)\n\
+-b     : issue warnings about str(bytes_instance), str(bytearray_instance)\n\
+         and comparing bytes/bytearray with str. (-bb: issue errors)\n\
 -B     : don't write .py[co] files on import; also PYTHONDONTWRITEBYTECODE=x\n\
 -c cmd : program passed in as string (terminates option list)\n\
 -d     : debug output from parser; also PYTHONDEBUG=x\n\


More information about the Python-3000-checkins mailing list