Fix some typos. Add docstring

This commit is contained in:
Maciej Fijalkowski 2020-08-06 16:07:50 +02:00
parent b71ae461a6
commit 9b9d530155
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
"""
Ported to Python3.
"""
from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
@ -5,7 +9,7 @@ from __future__ import unicode_literals
from future.utils import PY2
if PY2:
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, pow, round, super, bytes, dict, int, list, object, range, str, max, min # noqa: F401from builtins import range
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401
import six
import os, time, sys
import yaml

View File

@ -1,5 +1,5 @@
"""
Ported to Python3
Ported to Python3.
Futz with files like a pro.
"""
@ -12,7 +12,7 @@ from __future__ import unicode_literals
from future.utils import PY2
if PY2:
# open is not here because we want to use native strings on Py2
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, pow, round, super, bytes, dict, int, list, object, range, str, max, min # noqa: F401from builtins import range
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401
import sys, os, stat, tempfile, time, binascii
import six