summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-02-02 13:24:16 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-02-02 13:24:16 (GMT)
commitc0f59ad1455a53b6a8a9f09620ae4283e4df9f26 (patch)
tree2777c138d7b040194dba9a44926a325755a601dd /Modules/selectmodule.c
parenta0e454b69d4e00c75eb04ffe7268b65dc51ae54b (diff)
downloadcpython-c0f59ad1455a53b6a8a9f09620ae4283e4df9f26.zip
cpython-c0f59ad1455a53b6a8a9f09620ae4283e4df9f26.tar.gz
cpython-c0f59ad1455a53b6a8a9f09620ae4283e4df9f26.tar.bz2
Rename struct.unpack() 2nd parameter to "buffer"
Issue #29300: Rename struct.unpack() second parameter from "inputstr" to "buffer", and use the Py_buffer type. Fix also unit tests on struct.unpack() which passed a Unicode string instead of a bytes string as struct.unpack() second parameter. The purpose of test_trailing_counter() is to test invalid format strings, not to test the buffer parameter.
Diffstat (limited to 'Modules/selectmodule.c')
0 files changed, 0 insertions, 0 deletions