mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-25 02:57:14 +08:00
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:
@@ -1,10 +1,10 @@
|
||||
import sys
|
||||
from _typeshed import ReadableBuffer
|
||||
|
||||
if sys.version_info < (3,):
|
||||
from hashlib import _hash as _Hash
|
||||
else:
|
||||
if sys.version_info >= (3, 0):
|
||||
from hashlib import _Hash
|
||||
else:
|
||||
from hashlib import _hash as _Hash
|
||||
|
||||
VERSION: str
|
||||
XXHASH_VERSION: str
|
||||
|
||||
Reference in New Issue
Block a user