forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace inline function
is_small_int
with a macro version (pythonGH…
- Loading branch information
1 parent
3f43cef
commit 6b51998
Showing
2 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
Misc/NEWS.d/next/Core and Builtins/2019-08-23-22-46-25.bpo-37812.vsWZwS.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
The ``CHECK_SMALL_INT`` macro used inside :file:`Object/longobject.c` has | ||
been replaced with an explicit ``return`` at each call site, conditioned on | ||
a ``static inline`` function ``is_small_int``. | ||
been replaced with an explicit ``return`` at each call site. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters