gh-111972: Make Unicode name C APIcapsule initialization thread-safe (#112249)

This commit is contained in:
Kirill Podoprigora 2023-11-30 13:12:49 +03:00 committed by GitHub
parent 81261fa67f
commit 0785c68559
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 20 deletions

View file

@ -28,6 +28,8 @@ typedef struct {
} _PyUnicode_Name_CAPI;
extern _PyUnicode_Name_CAPI* _PyUnicode_GetNameCAPI(void);
#ifdef __cplusplus
}
#endif