commit | 6c2cdae9e6b664a0b3e204773aeb8954ae1508e1 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Oct 12 13:29:43 2015 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Oct 12 13:29:43 2015 +0200 |
tree | 9827e325a16cfaa1002a63f53bbacf6888d0489b | |
parent | c29e29bed1ea1efc1a0cd3178fac96be4d763ecf [diff] |
Writer APIs: use empty string singletons Modify _PyBytesWriter_Finish() and _PyUnicodeWriter_Finish() to return the empty bytes/Unicode string if the string is empty.