You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
342 B
11 lines
342 B
4 years ago
|
"""Code for supporting compatibility across python versions."""
|
||
|
|
||
|
# Copyright (c) IPython Development Team.
|
||
|
# Distributed under the terms of the Modified BSD License.
|
||
|
|
||
|
try:
|
||
|
from base64 import decodebytes, encodebytes
|
||
|
except ImportError:
|
||
|
from base64 import encodestring as encodebytes
|
||
|
from base64 import decodestring as decodebytes
|