only if, not if if

pull/73834/head
Brian Coca 3 years ago
parent e095235e37
commit b1fa74c79e

@ -62,7 +62,7 @@ if t.TYPE_CHECKING:
P = t.ParamSpec('P')
# wrap becomes noop if not using tty
if if C.NOTTY_WRAP or sys.__stdin__.isatty():
if C.NOTTY_WRAP or sys.__stdin__.isatty():
from textwrap import wrap
else:
def wrap(text, width, **kwargs):

Loading…
Cancel
Save