mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 03:06:41 +00:00
Fix some typos. Add docstring
This commit is contained in:
parent
b71ae461a6
commit
9b9d530155
@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
Ported to Python3.
|
||||||
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from __future__ import division
|
from __future__ import division
|
||||||
@ -5,7 +9,7 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
from future.utils import PY2
|
from future.utils import PY2
|
||||||
if 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 six
|
||||||
import os, time, sys
|
import os, time, sys
|
||||||
import yaml
|
import yaml
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Ported to Python3
|
Ported to Python3.
|
||||||
|
|
||||||
Futz with files like a pro.
|
Futz with files like a pro.
|
||||||
"""
|
"""
|
||||||
@ -12,7 +12,7 @@ from __future__ import unicode_literals
|
|||||||
from future.utils import PY2
|
from future.utils import PY2
|
||||||
if PY2:
|
if PY2:
|
||||||
# open is not here because we want to use native strings on 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 sys, os, stat, tempfile, time, binascii
|
||||||
import six
|
import six
|
||||||
|
Loading…
Reference in New Issue
Block a user