summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-07 15:21:41 (GMT)
committerGitHub <noreply@github.com>2022-02-07 15:21:41 (GMT)
commit760349198dbd8771629753e096a885c1aa28a1ca (patch)
treef736e22ee67d6bc7851d9a8fcf0cbe5c58274736 /Objects/dictobject.c
parent4f1d3f33dd8b37a151b73533f18b08b0500223e5 (diff)
downloadcpython-760349198dbd8771629753e096a885c1aa28a1ca.zip
cpython-760349198dbd8771629753e096a885c1aa28a1ca.tar.gz
cpython-760349198dbd8771629753e096a885c1aa28a1ca.tar.bz2
bpo-46670: Remove unused macros in the Objects directory (GH-31193)
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 0ad0f0b..2c8ec79 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -292,7 +292,6 @@ _PyDict_DebugMallocStats(FILE *out)
}
#define DK_MASK(dk) (DK_SIZE(dk)-1)
-#define IS_POWER_OF_2(x) (((x) & (x-1)) == 0)
static void free_keys_object(PyDictKeysObject *keys);