summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/stringdefs.h
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2009-11-30 01:01:42 (GMT)
committerEric Smith <eric@trueblade.com>2009-11-30 01:01:42 (GMT)
commit0f78bff646c60cb3f39f3e908f5c7f10ad63f1f2 (patch)
tree90200f967879d7a2e466b0a2b7ab9b4336cbbdce /Objects/stringlib/stringdefs.h
parent7d0bddde5caca7abf41aa3d8763bc99ad8aa8798 (diff)
downloadcpython-0f78bff646c60cb3f39f3e908f5c7f10ad63f1f2.zip
cpython-0f78bff646c60cb3f39f3e908f5c7f10ad63f1f2.tar.gz
cpython-0f78bff646c60cb3f39f3e908f5c7f10ad63f1f2.tar.bz2
Issue #5748: bytesobject.c should not have its own private defines for stringlib macros. Also removed unused defines and include for localutil.h.
Diffstat (limited to 'Objects/stringlib/stringdefs.h')
-rw-r--r--Objects/stringlib/stringdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringlib/stringdefs.h b/Objects/stringlib/stringdefs.h
index a5672c7..f85357f 100644
--- a/Objects/stringlib/stringdefs.h
+++ b/Objects/stringlib/stringdefs.h
@@ -21,6 +21,7 @@
#define STRINGLIB_NEW PyBytes_FromStringAndSize
#define STRINGLIB_RESIZE _PyBytes_Resize
#define STRINGLIB_CHECK PyBytes_Check
+#define STRINGLIB_CHECK_EXACT PyBytes_CheckExact
#define STRINGLIB_CMP memcmp
#define STRINGLIB_TOSTR PyObject_Str
#define STRINGLIB_GROUPING _PyBytes_InsertThousandsGrouping