diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-02-02 14:24:16 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-02-02 14:24:16 +0100 |
commit | a96910ecad21b69100cc9ee045839fecdbfcfa72 (patch) | |
tree | 301a57679b43cdc378d7c23056bd48125677e45b /PC/bdist_wininst | |
parent | 48e2d3c2e374e4f91f5b9a3b53f31d29f9e948bf (diff) | |
download | cpython-a96910ecad21b69100cc9ee045839fecdbfcfa72.tar.gz |
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 'PC/bdist_wininst')
0 files changed, 0 insertions, 0 deletions