diff options
| author | Victor Stinner <vstinner@redhat.com> | 2018-12-04 16:18:12 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-04 16:18:12 (GMT) |
| commit | b8e689a6e8134e88f857a55e50b6a4977967e385 (patch) | |
| tree | 25fa93df9fd3f3e930b7c16a76885ad4e9ab44e3 /Lib/test/pythoninfo.py | |
| parent | 4752e65250bce60b97d5af702d586092d02fbf58 (diff) | |
| download | cpython-b8e689a6e8134e88f857a55e50b6a4977967e385.zip cpython-b8e689a6e8134e88f857a55e50b6a4977967e385.tar.gz cpython-b8e689a6e8134e88f857a55e50b6a4977967e385.tar.bz2 | |
bpo-35346, platform: import subprocess in _syscmd_file() (GH-10892)
Only platform._syscmd_file() uses subprocess. Move subprocess import
inside this function to reduce the number of imports at Python
startup.
Remove also warnings import which is no longer needed.
Diffstat (limited to 'Lib/test/pythoninfo.py')
0 files changed, 0 insertions, 0 deletions
