Skip to content

Commit a4b8323

Browse files
committed
Correct clinic class definition
Signed-off-by: Christian Heimes <[email protected]>
1 parent d82788e commit a4b8323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_hashopenssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ typedef struct {
6666
#include "clinic/_hashopenssl.c.h"
6767
/*[clinic input]
6868
module _hashlib
69-
class _hashlib.HASH "EVPobject *" "&EVPtype"
69+
class _hashlib.HASH "EVPobject *" "((_hashlibstate *)PyModule_GetState(module))->EVPtype"
7070
[clinic start generated code]*/
71-
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=a881a5092eecad28]*/
71+
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=1adf85e8eb2ab979]*/
7272

7373

7474
/* LCOV_EXCL_START */

0 commit comments

Comments
 (0)