summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/ucs4lib.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-23 22:10:40 (GMT)
committerGitHub <noreply@github.com>2020-06-23 22:10:40 (GMT)
commitf363d0a6e9cfa50677a6de203735fbc0d06c2f49 (patch)
tree9092c9d82a215dcfce789e4ad81ac2b4e8be2fed /Objects/stringlib/ucs4lib.h
parentd051801052211b533c46a593b1c1bccf649a171c (diff)
downloadcpython-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/ucs4lib.h')
-rw-r--r--Objects/stringlib/ucs4lib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/stringlib/ucs4lib.h b/Objects/stringlib/ucs4lib.h
index c7dfa52..39071a0 100644
--- a/Objects/stringlib/ucs4lib.h
+++ b/Objects/stringlib/ucs4lib.h
@@ -11,7 +11,6 @@
#define STRINGLIB_CHAR Py_UCS4
#define STRINGLIB_TYPE_NAME "unicode"
#define STRINGLIB_PARSE_CODE "U"
-#define STRINGLIB_GET_EMPTY() unicode_empty
#define STRINGLIB_ISSPACE Py_UNICODE_ISSPACE
#define STRINGLIB_ISLINEBREAK BLOOM_LINEBREAK
#define STRINGLIB_ISDECIMAL Py_UNICODE_ISDECIMAL