Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5639d8 commit e2b35eeCopy full SHA for e2b35ee
1 file changed
Lib/enum.py
@@ -150,18 +150,6 @@ def bin(num, max_bits=None):
150
digits = (sign[-1] * max_bits + digits)[-max_bits:]
151
return "%s %s" % (sign, digits)
152
153
-def _dedent(text):
154
- """
155
- Like textwrap.dedent. Rewritten because we cannot import textwrap.
156
157
- lines = text.split('\n')
158
- for i, ch in enumerate(lines[0]):
159
- if ch != ' ':
160
- break
161
- for j, l in enumerate(lines):
162
- lines[j] = l[i:]
163
- return '\n'.join(lines)
164
-
165
class _not_given:
166
def __repr__(self):
167
return('<not given>')
0 commit comments