Discussion:
[Python-3000-checkins] r66189 - python/branches/py3k/Modules/main.c
christian.heimes
2008-09-03 20:31:08 UTC
Permalink
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\

Loading...