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.
ORPA-pyOpenRPA/Resources/WPy64-3720/python-3.7.2.amd64/Lib/site-packages/nbformat/_compat.py

11 lines
342 B

"""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