Skip to content

Commit 2ab3444

Browse files
committed
Fixed wording of python --help text.
The -b option was still using the old name 'buffer' instead of 'bytearray'.
1 parent d6a6d3f commit 2ab3444

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ static char *usage_line =
5656
/* Long usage message, split into parts < 512 bytes */
5757
static char *usage_1 = "\
5858
Options and arguments (and corresponding environment variables):\n\
59-
-b : issue warnings about str(bytes_instance), str(buffer_instance)\n\
60-
and comparing bytes/buffer with str. (-bb: issue errors)\n\
59+
-b : issue warnings about str(bytes_instance), str(bytearray_instance)\n\
60+
and comparing bytes/bytearray with str. (-bb: issue errors)\n\
6161
-B : don't write .py[co] files on import; also PYTHONDONTWRITEBYTECODE=x\n\
6262
-c cmd : program passed in as string (terminates option list)\n\
6363
-d : debug output from parser; also PYTHONDEBUG=x\n\

0 commit comments

Comments
 (0)