diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-23 22:10:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 22:10:40 (GMT) |
commit | f363d0a6e9cfa50677a6de203735fbc0d06c2f49 (patch) | |
tree | 9092c9d82a215dcfce789e4ad81ac2b4e8be2fed /Objects/stringlib/stringdefs.h | |
parent | d051801052211b533c46a593b1c1bccf649a171c (diff) | |
download | cpython-f363d0a6e9cfa50677a6de203735fbc0d06c2f49.zip cpython-f363d0a6e9cfa50677a6de203735fbc0d06c2f49.tar.gz cpython-f363d0a6e9cfa50677a6de203735fbc0d06c2f49.tar.bz2 |
bpo-40521: Make empty Unicode string per interpreter (GH-21096)
Each interpreter now has its own empty Unicode string singleton.
Diffstat (limited to 'Objects/stringlib/stringdefs.h')
-rw-r--r-- | Objects/stringlib/stringdefs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/stringlib/stringdefs.h b/Objects/stringlib/stringdefs.h index c12ecc5..88641b2 100644 --- a/Objects/stringlib/stringdefs.h +++ b/Objects/stringlib/stringdefs.h @@ -1,10 +1,6 @@ #ifndef STRINGLIB_STRINGDEFS_H #define STRINGLIB_STRINGDEFS_H -#ifndef STRINGLIB_GET_EMPTY -# error "STRINGLIB_GET_EMPTY macro must be defined" -#endif - /* this is sort of a hack. there's at least one place (formatting floats) where some stringlib code takes a different path if it's compiled as unicode. */ |