Skip to content

Commit

Permalink
Merge pull request #130 from zopefoundation/issue125
Browse files Browse the repository at this point in the history
Python3: Stop using undocumented PyLong_AS_LONG.
  • Loading branch information
jamadden committed Feb 21, 2020
2 parents 1a02a9f + e165124 commit 66fe514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistent/_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#define INT_FROM_LONG(x) PyLong_FromLong(x)
#define INT_CHECK(x) PyLong_Check(x)
#define INT_AS_LONG(x) PyLong_AS_LONG(x)
#define INT_AS_LONG(x) PyLong_AsLong(x)
#define CAPI_CAPSULE_NAME "persistent.cPersistence.CAPI"

#else
Expand Down

0 comments on commit 66fe514

Please sign in to comment.