Changeset 391 for python/trunk/Objects/stringlib/README.txt
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Objects/stringlib/README.txt
r2 r391 14 14 STRINGLIB_EMPTY 15 15 16 a PyObject representing the empty string 17 18 int STRINGLIB_CMP(STRINGLIB_CHAR*, STRINGLIB_CHAR*, Py_ssize_t) 19 20 compares two strings. returns 0 if they match, and non-zero if not. 16 a PyObject representing the empty string, only to be used if 17 STRINGLIB_MUTABLE is 0 21 18 22 19 Py_ssize_t STRINGLIB_LEN(PyObject*) … … 33 30 returns the pointer to the character data for the given string 34 31 object (which must be of the right type) 32 33 int STRINGLIB_CHECK_EXACT(PyObject *) 34 35 returns true if the object is an instance of our type, not a subclass 36 37 STRINGLIB_MUTABLE 38 39 must be 0 or 1 to tell the cpp macros in stringlib code if the object 40 being operated on is mutable or not
Note:
See TracChangeset
for help on using the changeset viewer.