]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #24870: Add _PyUnicodeWriter_PrepareKind() macro
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Sep 2015 22:58:32 +0000 (00:58 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Sep 2015 22:58:32 +0000 (00:58 +0200)
commitca9381ea01211e79f5bc6078b95e177f1c04f52b
treed324c7a17fef115fc94486e76c96a031b81d1ca3
parent5014920cb72768bc54924e55e7004e79fcad94f7
Issue #24870: Add _PyUnicodeWriter_PrepareKind() macro

Add a macro which ensures that the writer has at least the requested kind.
Include/unicodeobject.h
Objects/unicodeobject.c