Fix typos in comments and docstring (#122720)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Xie Yanbo 2024-08-07 14:39:16 +08:00 committed by GitHub
parent 98dba73010
commit b6c80e21c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 11 deletions

View file

@ -374,7 +374,7 @@ def _get_command_stdout(command, *args):
# for are actually localized, but in theory some system could do so.)
env = dict(os.environ)
env['LC_ALL'] = 'C'
# Empty strings will be quoted by popen so we should just ommit it
# Empty strings will be quoted by popen so we should just omit it
if args != ('',):
command = (executable, *args)
else: