summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-10-12 13:29:43 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-10-12 13:29:43 +0200
commit6c2cdae9e6b664a0b3e204773aeb8954ae1508e1 (patch)
tree9827e325a16cfaa1002a63f53bbacf6888d0489b /Python/sysmodule.c
parentc29e29bed1ea1efc1a0cd3178fac96be4d763ecf (diff)
downloadcpython-git-6c2cdae9e6b664a0b3e204773aeb8954ae1508e1.tar.gz
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 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions