mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
py: Remove unneeded future imports.
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
committed by
Damien George
parent
3c60e0cf21
commit
d9d9d1ab0d
@@ -6,8 +6,6 @@ These are used to generate a header with the required entries for
|
|||||||
"struct _mp_state_vm_t" in py/mpstate.h
|
"struct _mp_state_vm_t" in py/mpstate.h
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import io
|
import io
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ py/builtinimnport.c:process_import_at_level. Regular modules will always use
|
|||||||
the built-in version.
|
the built-in version.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
import io
|
import io
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ Process raw qstr file and output qstr data with length, hash and data bytes.
|
|||||||
This script works with Python 3.3+.
|
This script works with Python 3.3+.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ qstr. Each qstr is transformed into a qstr definition of the form 'Q(...)'.
|
|||||||
This script works with Python 3.3+.
|
This script works with Python 3.3+.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ Generate header file with macros defining MicroPython version info.
|
|||||||
This script works with Python 3.3+.
|
This script works with Python 3.3+.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user