Skip to content

Commit 398e139

Browse files
committed
improve wording
1 parent 4bcff7f commit 398e139

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Include/methodobject.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ typedef PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords;
5151
// (bpo-33012).
5252
#define _PyCFunction_CAST(func) \
5353
_Py_FUNC_CAST(PyCFunction, func)
54-
// Other casts are given for semantic conveniences, allowing
55-
// users to see whether a cast to suppress an undefined behavior is necessary.
54+
// The macros below are given for semantic convenience, allowing users
55+
// to see whether a cast to suppress an undefined behavior is necessary.
56+
// Note: At runtime, the original function signature must be respected.
5657
#define _PyCFunctionFast_CAST(func) \
5758
_Py_FUNC_CAST(PyCFunctionFast, func)
5859
#define _PyCFunctionWithKeywords_CAST(func) \

0 commit comments

Comments
 (0)