diff options
author | Guido van Rossum <guido@python.org> | 1997-10-20 23:21:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-10-20 23:21:23 (GMT) |
commit | cb4d3032ae513b6aa18ee9c458eedccae52782e0 (patch) | |
tree | efb0282b182c54baff529576b4511ae3b09e7761 /Modules/pcremodule.c | |
parent | 266033e89b52b1ed6264cb0dc3aacd4ab185ed23 (diff) | |
download | cpython-cb4d3032ae513b6aa18ee9c458eedccae52782e0.zip cpython-cb4d3032ae513b6aa18ee9c458eedccae52782e0.tar.gz cpython-cb4d3032ae513b6aa18ee9c458eedccae52782e0.tar.bz2 |
Add proper (getattrfunc) cast in Pcre_Type.
Diffstat (limited to 'Modules/pcremodule.c')
-rw-r--r-- | Modules/pcremodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c index d7615d1..73af3ca 100644 --- a/Modules/pcremodule.c +++ b/Modules/pcremodule.c @@ -164,7 +164,7 @@ staticforward PyTypeObject Pcre_Type = { /* methods */ (destructor)PyPcre_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ - PyPcre_getattr, /*tp_getattr*/ + (getattrfunc)PyPcre_getattr, /*tp_getattr*/ 0, /*tp_setattr*/ 0, /*tp_compare*/ 0, /*tp_repr*/ |