diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-07 16:21:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 16:21:52 +0100 |
commit | 7d8b69e1d1f125454d8cec81ff0dee72f2bef957 (patch) | |
tree | 620185012021139b0c85ad01cc62c646a096548b /Python/thread.c | |
parent | 760349198dbd8771629753e096a885c1aa28a1ca (diff) | |
download | cpython-git-7d8b69e1d1f125454d8cec81ff0dee72f2bef957.tar.gz |
bpo-46670: Remove unused macros in the Python directory (GH-31192)
Diffstat (limited to 'Python/thread.c')
-rw-r--r-- | Python/thread.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Python/thread.c b/Python/thread.c index c6b16251a0..e80e8a906b 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -45,11 +45,9 @@ #ifdef Py_DEBUG static int thread_debug = 0; -#define dprintf(args) (void)((thread_debug & 1) && printf args) -#define d2printf(args) ((thread_debug & 8) && printf args) +# define dprintf(args) (void)((thread_debug & 1) && printf args) #else -#define dprintf(args) -#define d2printf(args) +# define dprintf(args) #endif static int initialized; |