future first: switch the order of some if statements (#5206)

Since we're adding this to our contribution guidelines in
https://github.com/python/typeshed/pull/5205
This commit is contained in:
Shantanu authored and GitHub committed 2021-04-11 06:44:18 -07:00
1 parent b308c1f964
commit fa9d5a5e9f
36 files changed
+147 -146

No files matched your search

+3 -3
View File
@@ -3,10 +3,10 @@ from decimal import Decimal
from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Sequence, Tuple, Union
# workaround for mypy#2010
if sys.version_info < (3,):
from __builtin__ import str as _str
else:
if sys.version_info >= (3, 0):
from builtins import str as _str
else:
from __builtin__ import str as _str
CODESET: int
D_T_FMT: int