Skip to content

Commit e047759

Browse files
authored
Remove __future__ import from our code (pyca#5610)
1 parent b3540ec commit e047759

File tree

225 files changed

+0
-261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+0
-261
lines changed

docs/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
# All configuration values have a default; values that are commented out
1717
# serve to show the default.
1818

19-
from __future__ import absolute_import, division, print_function
20-
2119
import os
2220
import sys
2321

docs/cryptography-docs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
33
# for complete details.
44

5-
from __future__ import absolute_import, division, print_function
6-
75
from docutils import nodes
86
from docutils.parsers.rst import Directive
97

docs/development/custom-vectors/arc4/generate_arc4.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
33
# for complete details.
44

5-
from __future__ import absolute_import, division, print_function
6-
75
import binascii
86

97
from cryptography.hazmat.backends import default_backend

docs/development/custom-vectors/cast5/generate_cast5.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
33
# for complete details.
44

5-
from __future__ import absolute_import, division, print_function
6-
75
import binascii
86

97
from cryptography.hazmat.backends import default_backend

docs/development/custom-vectors/hkdf/generate_hkdf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
33
# for complete details.
44

5-
from __future__ import absolute_import, division, print_function
6-
75
import binascii
86

97
from cryptography.hazmat.backends import default_backend

docs/development/custom-vectors/rsa-oaep-sha2/generate_rsa_oaep_sha2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
33
# for complete details.
44

5-
from __future__ import absolute_import, division, print_function
6-
75
import binascii
86
import itertools
97
import os

docs/development/custom-vectors/secp256k1/generate_secp256k1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import, print_function
2-
31
import hashlib
42
import os
53
from binascii import hexlify

docs/development/custom-vectors/secp256k1/verify_secp256k1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import, print_function
2-
31
import os
42

53
from cryptography.hazmat.backends import default_backend

docs/development/submitting-patches.rst

Lines changed: 0 additions & 6 deletions

release.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
33
# for complete details.
44

5-
from __future__ import absolute_import, division, print_function
6-
75
import getpass
86
import glob
97
import io

0 commit comments

Comments
 (0)