pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/d9b4316374ac27ec38ca8c829ff3fc2367ebd095

8faa60c69660fa.css" /> gh-120417: Remove unused imports in Tools (#120623) · python/cpython@d9b4316 · GitHub
Skip to content

Commit d9b4316

Browse files
authored
gh-120417: Remove unused imports in Tools (#120623)
1 parent 6acf777 commit d9b4316

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

PC/layout/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22

33
try:
4-
import layout
4+
import layout # noqa: F401
55
except ImportError:
66
# Failed to import our package, which likely means we were started directly
77
# Add the additional search path needed to locate our module.

Tools/build/freeze_modules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
from collections import namedtuple
77
import hashlib
8-
import os
98
import ntpath
9+
import os
1010
import posixpath
11-
import argparse
11+
1212
from update_file import updating_file_with_tmpfile
1313

1414

Tools/patchcheck/patchcheck.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env python3
22
"""Check proposed changes for common issues."""
3-
import re
43
import sys
5-
import shutil
64
import os.path
75
import subprocess
86
import sysconfig

Tools/ssl/make_ssl_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import operator
1616
import os
1717
import re
18-
import sys
1918

2019

2120
parser = argparse.ArgumentParser(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy