Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Objects/stringlib/README.txt

    r2 r391  
    1414STRINGLIB_EMPTY
    1515
    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
    2118
    2219Py_ssize_t STRINGLIB_LEN(PyObject*)
     
    3330    returns the pointer to the character data for the given string
    3431    object (which must be of the right type)
     32
     33int STRINGLIB_CHECK_EXACT(PyObject *)
     34
     35    returns true if the object is an instance of our type, not a subclass
     36
     37STRINGLIB_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.