diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-12 11:29:43 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-12 11:29:43 (GMT) |
commit | 6c2cdae9e6b664a0b3e204773aeb8954ae1508e1 (patch) | |
tree | 9827e325a16cfaa1002a63f53bbacf6888d0489b /Modules | |
parent | c29e29bed1ea1efc1a0cd3178fac96be4d763ecf (diff) | |
download | cpython-6c2cdae9e6b664a0b3e204773aeb8954ae1508e1.zip cpython-6c2cdae9e6b664a0b3e204773aeb8954ae1508e1.tar.gz cpython-6c2cdae9e6b664a0b3e204773aeb8954ae1508e1.tar.bz2 |
Writer APIs: use empty string singletons
Modify _PyBytesWriter_Finish() and _PyUnicodeWriter_Finish() to return the
empty bytes/Unicode string if the string is empty.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions