From de9d7aa4257ab3879986a05f6930c09c1d14e0da Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Thu, 3 Apr 2025 18:12:18 +0900 Subject: [PATCH] enum: remove unused function --- Lib/enum.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Lib/enum.py b/Lib/enum.py index ee963d6a7e67d1..b5f3ca7ae111d6 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -150,18 +150,6 @@ def bin(num, max_bits=None): digits = (sign[-1] * max_bits + digits)[-max_bits:] return "%s %s" % (sign, digits) -def _dedent(text): - """ - Like textwrap.dedent. Rewritten because we cannot import textwrap. - """ - lines = text.split('\n') - for i, ch in enumerate(lines[0]): - if ch != ' ': - break - for j, l in enumerate(lines): - lines[j] = l[i:] - return '\n'.join(lines) - class _not_given: def __repr__(self): return('') pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy