]> granicus.if.org Git - python/commit
unicode_writer: add finish() method and assertions to write_str() method
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 3 May 2012 21:58:55 +0000 (23:58 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 3 May 2012 21:58:55 +0000 (23:58 +0200)
commita7b654be305dc0be1cbe521eb8a3d05489de975c
tree30d292448018d91ac482a457e261c7f9fadfc3d1
parentb14544807e73e371b68753d1b01f3e1ad2eecc1c
unicode_writer: add finish() method and assertions to write_str() method

 * The write_str() method does nothing if the length is zero.
 * Replace "struct unicode_writer_t" with "unicode_writer_t"
Objects/unicodeobject.c