Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/mingw32/Python27/include/rangeobject.h @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2a2c65a20a8b |
children |
rev | line source |
---|---|
Chris@87 | 1 |
Chris@87 | 2 /* Range object interface */ |
Chris@87 | 3 |
Chris@87 | 4 #ifndef Py_RANGEOBJECT_H |
Chris@87 | 5 #define Py_RANGEOBJECT_H |
Chris@87 | 6 #ifdef __cplusplus |
Chris@87 | 7 extern "C" { |
Chris@87 | 8 #endif |
Chris@87 | 9 |
Chris@87 | 10 /* This is about the type 'xrange', not the built-in function range(), which |
Chris@87 | 11 returns regular lists. */ |
Chris@87 | 12 |
Chris@87 | 13 /* |
Chris@87 | 14 A range object represents an integer range. This is an immutable object; |
Chris@87 | 15 a range cannot change its value after creation. |
Chris@87 | 16 |
Chris@87 | 17 Range objects behave like the corresponding tuple objects except that |
Chris@87 | 18 they are represented by a start, stop, and step datamembers. |
Chris@87 | 19 */ |
Chris@87 | 20 |
Chris@87 | 21 PyAPI_DATA(PyTypeObject) PyRange_Type; |
Chris@87 | 22 |
Chris@87 | 23 #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) |
Chris@87 | 24 |
Chris@87 | 25 #ifdef __cplusplus |
Chris@87 | 26 } |
Chris@87 | 27 #endif |
Chris@87 | 28 #endif /* !Py_RANGEOBJECT_H */ |