Fix miscellaneous spelling/formatting

This commit is contained in:
Alex Willmer 2021-11-09 22:00:33 +00:00
parent da0262cc18
commit e76eefb8be
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ def get_output(s, *args, **kwargs):
def exists_in_path(progname):
"""
Return True if proganme exists in $PATH.
Return True if progname exists in $PATH.
>>> exists_in_path('echo')
True

View File

@ -813,7 +813,7 @@ executes under the runtime importer lock, ensuring :py:keyword:`import`
statements executing in local threads are serialized.
.. note::
In Python 2, :py:exc:`ImportError` is raised when :py:keyword:`import` is
attempted while the runtime import lock is held by another thread,
therefore imports must be serialized by only attempting them from the main