~pythonregexp2.7/python/issue2636-22

« back to all changes in this revision

Viewing changes to Doc/c-api/string.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:36:32 UTC
  • mfrom: (39021.1.402 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143632-wwwkx92u1t5l7yd3
Merged in changes from the latest python source snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
.. _stringobjects:
4
4
 
5
 
String Objects
6
 
--------------
 
5
String/Bytes Objects
 
6
--------------------
7
7
 
8
8
These functions raise :exc:`TypeError` when expecting a string parameter and are
9
9
called with a non-string parameter.
10
10
 
 
11
.. note::
 
12
   These functions have been renamed to PyBytes_* in Python 3.x. The PyBytes
 
13
   names are also available in 2.6.
 
14
 
11
15
.. index:: object: string
12
16
 
13
17
 
120
124
 
121
125
.. cfunction:: PyObject* PyString_FromFormatV(const char *format, va_list vargs)
122
126
 
123
 
   Identical to :func:`PyString_FromFormat` except that it takes exactly two
 
127
   Identical to :cfunc:`PyString_FromFormat` except that it takes exactly two
124
128
   arguments.
125
129
 
126
130