mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
boto.compat, base64: fix version handling of (en|de)codebytes (#4070)
Co-authored-by: hauntsaninja <>
This commit is contained in:
5
third_party/2and3/boto/compat.pyi
vendored
5
third_party/2and3/boto/compat.pyi
vendored
@@ -1,7 +1,10 @@
|
||||
import sys
|
||||
|
||||
from typing import Any
|
||||
from base64 import encodestring as encodebytes
|
||||
if sys.version_info >= (3,):
|
||||
from base64 import encodebytes as encodebytes
|
||||
else:
|
||||
from base64 import encodestring as encodebytes
|
||||
|
||||
from six.moves import http_client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user