diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-09 01:38:24 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-09 01:38:24 (GMT) |
| commit | b3653a34580684d210daed5cbb8a676c4d7a33fd (patch) | |
| tree | 7fded22fcdf13645a0753d334d498a96c1e66b67 /Include | |
| parent | 3fa36ff5e4991550e31cc7ab55dc3a2165c2ffa3 (diff) | |
| download | cpython-b3653a34580684d210daed5cbb8a676c4d7a33fd.zip cpython-b3653a34580684d210daed5cbb8a676c4d7a33fd.tar.gz cpython-b3653a34580684d210daed5cbb8a676c4d7a33fd.tar.bz2 | |
Issue #25318: cleanup code _PyBytesWriter
Rename "stack buffer" to "small buffer".
Add also an assertion in _PyBytesWriter_GetPos().
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/bytesobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/bytesobject.h b/Include/bytesobject.h index eafcdea..ffa529b 100644 --- a/Include/bytesobject.h +++ b/Include/bytesobject.h @@ -141,8 +141,8 @@ typedef struct { int overallocate; /* Stack buffer */ - int use_stack_buffer; - char stack_buffer[512]; + int use_small_buffer; + char small_buffer[512]; } _PyBytesWriter; /* Initialize a bytes writer |
