rewrite TODO to Note

This commit is contained in:
Sofie Van Landeghem 2022-11-22 09:40:27 +01:00 committed by GitHub
parent d85cad0922
commit 93802e4863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -971,8 +971,8 @@ def run_command(
if isinstance(command, str):
cmd_str = command
else: # list
# TODO list2cmdline is an intentionally undocumented internal Python
# function, check if we want to use this.
# Note: list2cmdline is an intentionally undocumented internal Python
# function, cf #11378
cmd_str = subprocess.list2cmdline(command)
tool = command[0]
else: