diff options
| author | Guido van Rossum <guido@python.org> | 2006-08-17 05:42:55 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2006-08-17 05:42:55 +0000 |
| commit | 50e9fb9e2d6b4b12524116ab775ac6543e4a5332 (patch) | |
| tree | 96f41e9a6d07a2754fcaceb7b54a7c11f112687f /Include/methodobject.h | |
| parent | d033ddf4dc501e0920adec9e193750e515bbd128 (diff) | |
| download | cpython-git-50e9fb9e2d6b4b12524116ab775ac6543e4a5332.tar.gz | |
Completely get rid of PyClass and PyInstance.
(classobject.[ch] aren't empty yet because they also define PyMethod.)
This breaks lots of stuff, notably cPickle. But it's a step in the right
direction. I'll clean it up later.
(Also a few unrelated changes, e.g. T_NONE to define a "struct member"
that is always None, and simplification of __hash__ -- these are unfinished.)
Diffstat (limited to 'Include/methodobject.h')
| -rw-r--r-- | Include/methodobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h index c887d947e3..67a24732fd 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -63,7 +63,7 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, #define METH_CLASS 0x0010 #define METH_STATIC 0x0020 -/* METH_COEXIST allows a method to be entered eventhough a slot has +/* METH_COEXIST allows a method to be entered even though a slot has already filled the entry. When defined, the flag allows a separate method, "__contains__" for example, to coexist with a defined slot like sq_contains. */ |
