mirror of
https://github.com/servo/servo.git
synced 2025-07-27 17:20:36 +01:00
Remove __future__
imports that are no longer necessary (#30661)
These are no longer necessary as we always use Python 3.
This commit is contained in:
parent
7e643f46d7
commit
f5627ce4cc
15 changed files with 1 additions and 28 deletions
|
@ -7,8 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
import base64
|
||||
import glob
|
||||
import json
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import datetime
|
||||
import locale
|
||||
import os
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import print_function, annotations
|
||||
from __future__ import annotations
|
||||
|
||||
import contextlib
|
||||
from enum import Enum
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
from os import path, listdir, getcwd
|
||||
|
||||
import signal
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import fileinput
|
||||
import re
|
||||
import random
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
from datetime import datetime
|
||||
from github import Github
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import json
|
||||
import os
|
||||
import os.path as path
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import re
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import os.path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue