Use "file path" or "path" instead of "filepath" which isn't used much

By @hugovk.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Alexander Schlarb 2021-08-18 15:28:18 +00:00 committed by Alexander Schlarb
parent 39f3913b9d
commit d788682afe
2 changed files with 9 additions and 9 deletions

View File

@ -2156,7 +2156,7 @@ class Image:
def save(self, fp, format=None, **params):
"""
Saves this image under the given file path. If no format is
specified, the format to use is determined from the filepath's
specified, the format to use is determined from the path's
file extension, if possible.
Keyword options can be used to provide additional instructions

View File

@ -811,7 +811,7 @@ def truetype(font=None, size=10, index=0, encoding="", layout_engine=None):
This function requires the _imagingft service.
:param font: A file path or file-like object containing a TrueType font.
If the file is not found at this filepath, the loader may also
If the file is not found at this path, the loader may also
search in other directories, such as the :file:`%WINDIR%\fonts\`
directory on Windows or :file:`/Library/Fonts/`,
:file:`/System/Library/Fonts/` and :file:`~/Library/Fonts/`