summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-07 15:21:52 (GMT)
committerGitHub <noreply@github.com>2022-02-07 15:21:52 (GMT)
commit7d8b69e1d1f125454d8cec81ff0dee72f2bef957 (patch)
tree620185012021139b0c85ad01cc62c646a096548b /Python/thread.c
parent760349198dbd8771629753e096a885c1aa28a1ca (diff)
downloadcpython-7d8b69e1d1f125454d8cec81ff0dee72f2bef957.zip
cpython-7d8b69e1d1f125454d8cec81ff0dee72f2bef957.tar.gz
cpython-7d8b69e1d1f125454d8cec81ff0dee72f2bef957.tar.bz2
bpo-46670: Remove unused macros in the Python directory (GH-31192)
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Python/thread.c b/Python/thread.c
index c6b1625..e80e8a9 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;