Mercurial > cpython-lru_cache-weakref
annotate Include/bytesobject.h @ 56797:ccbf7ebef475 2.6
Recorded merge of revisions 69159,69161,69240,69271-69273,69276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69159 | gregory.p.smith | 2009-02-01 01:16:01 +0100 (So, 01 Feb 2009) | 2 lines
Update doc wording as suggested in issue4903.
........
r69161 | gregory.p.smith | 2009-02-01 01:24:21 +0100 (So, 01 Feb 2009) | 2 lines
wording for for issue4903.
........
r69240 | raymond.hettinger | 2009-02-03 04:18:14 +0100 (Di, 03 Feb 2009) | 1 line
Record operator deprecations in docs.
........
r69271 | raymond.hettinger | 2009-02-04 11:52:32 +0100 (Mi, 04 Feb 2009) | 1 line
Minor doc fixups.
........
r69272 | raymond.hettinger | 2009-02-04 12:14:18 +0100 (Mi, 04 Feb 2009) | 1 line
Doc fixes. Remove overbroad, redundant warnings. Fixup example code.
........
r69273 | raymond.hettinger | 2009-02-04 12:31:30 +0100 (Mi, 04 Feb 2009) | 1 line
Tweak the docs for Counter() objects.
........
r69276 | raymond.hettinger | 2009-02-04 20:25:17 +0100 (Mi, 04 Feb 2009) | 1 line
Clarify that named tuples do not have to subclass tuple.
........
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 27 Oct 2009 13:29:01 +0000 |
| parents | acddb00b1de5 |
| children | 154948e2fd1c |
| rev | line source |
|---|---|
|
47578
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
1 #define PyBytesObject PyStringObject |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
2 #define PyBytes_Type PyString_Type |
|
33856
60c60dc75c77
Wrote down the invariants of some common objects whose structure is
Armin Rigo <arigo@tunes.org>
parents:
29726
diff
changeset
|
3 |
|
47578
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
4 #define PyBytes_Check PyString_Check |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
5 #define PyBytes_CheckExact PyString_CheckExact |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
6 #define PyBytes_CHECK_INTERNED PyString_CHECK_INTERNED |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
7 #define PyBytes_AS_STRING PyString_AS_STRING |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
8 #define PyBytes_GET_SIZE PyString_GET_SIZE |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
9 #define Py_TPFLAGS_BYTES_SUBCLASS Py_TPFLAGS_STRING_SUBCLASS |
|
13376
bfe22cf6e770
Added prototypes for the new codec APIs for strings. These APIs
Marc-André Lemburg <mal@egenix.com>
parents:
13256
diff
changeset
|
10 |
|
47578
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
11 #define PyBytes_FromStringAndSize PyString_FromStringAndSize |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
12 #define PyBytes_FromString PyString_FromString |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
13 #define PyBytes_FromFormatV PyString_FromFormatV |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
14 #define PyBytes_FromFormat PyString_FromFormat |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
15 #define PyBytes_Size PyString_Size |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
16 #define PyBytes_AsString PyString_AsString |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
17 #define PyBytes_Repr PyString_Repr |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
18 #define PyBytes_Concat PyString_Concat |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
19 #define PyBytes_ConcatAndDel PyString_ConcatAndDel |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
20 #define _PyBytes_Resize _PyString_Resize |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
21 #define _PyBytes_Eq _PyString_Eq |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
22 #define PyBytes_Format PyString_Format |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
23 #define _PyBytes_FormatLong _PyString_FormatLong |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
24 #define PyBytes_DecodeEscape PyString_DecodeEscape |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
25 #define _PyBytes_Join _PyString_Join |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
26 #define PyBytes_Decode PyString_Decode |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
27 #define PyBytes_Encode PyString_Encode |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
28 #define PyBytes_AsEncodedObject PyString_AsEncodedObject |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
29 #define PyBytes_AsEncodedString PyString_AsEncodedString |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
30 #define PyBytes_AsDecodedObject PyString_AsDecodedObject |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
31 #define PyBytes_AsDecodedString PyString_AsDecodedString |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
32 #define PyBytes_AsStringAndSize PyString_AsStringAndSize |
|
acddb00b1de5
swap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith <greg@mad-scientist.com>
parents:
47527
diff
changeset
|
33 #define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping |
