diff options
author | Guido van Rossum <guido@python.org> | 1995-01-12 11:45:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-12 11:45:45 (GMT) |
commit | caa63808861d4e92d4dc1005fc01de0f2e4a8fd0 (patch) | |
tree | 3771531169ab510aca9b69cdc4d9de2b5c8810c4 /Include/rangeobject.h | |
parent | 94390ec2a6ea5acbea9dead528ce067c396a0301 (diff) | |
download | cpython-caa63808861d4e92d4dc1005fc01de0f2e4a8fd0.zip cpython-caa63808861d4e92d4dc1005fc01de0f2e4a8fd0.tar.gz cpython-caa63808861d4e92d4dc1005fc01de0f2e4a8fd0.tar.bz2 |
The great renaming, phase two: all header files have been updated to
use the new names exclusively, and the linker will see the new names.
Files that import "Python.h" also only see the new names. Files that
import "allobjects.h" will continue to be able to use the old names,
due to the inclusion (in allobjects.h) of "rename2.h".
Diffstat (limited to 'Include/rangeobject.h')
-rw-r--r-- | Include/rangeobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/rangeobject.h b/Include/rangeobject.h index d35f1fd..f7ed0f1 100644 --- a/Include/rangeobject.h +++ b/Include/rangeobject.h @@ -34,8 +34,8 @@ Range objects behave like the corresponding tuple objects except that they are represented by a start, stop, and step datamembers. */ -extern DL_IMPORT typeobject Rangetype; +extern DL_IMPORT PyTypeObject Rangetype; #define is_rangeobject(op) ((op)->ob_type == &Rangetype) -extern object *newrangeobject PROTO((long, long, long, int)); +extern PyObject *newrangeobject Py_PROTO((long, long, long, int)); |