]> granicus.if.org Git - python/commitdiff
Fixed wording of python --help text.
authorChristian Heimes <christian@cheimes.de>
Wed, 3 Sep 2008 20:31:07 +0000 (20:31 +0000)
committerChristian Heimes <christian@cheimes.de>
Wed, 3 Sep 2008 20:31:07 +0000 (20:31 +0000)
The -b option was still using the old name 'buffer' instead of 'bytearray'.

Modules/main.c

index e2bfdb4458368643234abd87f321d2a76264ca94..386d9d51b760b40f093383f73cad52623611e589 100644 (file)
@@ -56,8 +56,8 @@ static char *usage_line =
 /* 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\