Staging
v0.5.1
https://github.com/python/cpython
Revision b93a52b136fd2285f2891eef91c50e3d36ea6f36 authored by Miss Islington (bot) on 14 February 2018, 00:48:28 UTC, committed by Berker Peksag on 14 February 2018, 00:48:28 UTC
This note incorrectly stated that "Base64 has an expansion factor of 6
to 4" (it is actually 4 to 3). It was decided to remove the note.

(cherry picked from commit 88c38a4049ded0e1f197fec3e76be7c0c0e83d7a)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 parent 5d0d0ea
Raw File
Tip revision: b93a52b136fd2285f2891eef91c50e3d36ea6f36 authored by Miss Islington (bot) on 14 February 2018, 00:48:28 UTC
bpo-27846: Delete incorrect note in base64 docs (GH-5666)
Tip revision: b93a52b
rangeobject.h

/* Range object interface */

#ifndef Py_RANGEOBJECT_H
#define Py_RANGEOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

/*
A range object represents an integer range.  This is an immutable object;
a range cannot change its value after creation.

Range objects behave like the corresponding tuple objects except that
they are represented by a start, stop, and step datamembers.
*/

PyAPI_DATA(PyTypeObject) PyRange_Type;
PyAPI_DATA(PyTypeObject) PyRangeIter_Type;
PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type;

#define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type)

#ifdef __cplusplus
}
#endif
#endif /* !Py_RANGEOBJECT_H */
back to top