summaryrefslogtreecommitdiffstats
path: root/Lib/mimetypes.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/mimetypes.py')
-rw-r--r--Lib/mimetypes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index bacee8b..d7c4e84 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -151,7 +151,7 @@ class MimeTypes:
def guess_file_type(self, path, *, strict=True):
"""Guess the type of a file based on its path.
- Similar to guess_type(), but takes file path istead of URL.
+ Similar to guess_type(), but takes file path instead of URL.
"""
path = os.fsdecode(path)
path = os.path.splitdrive(path)[1]
@@ -325,7 +325,7 @@ def guess_type(url, strict=True):
def guess_file_type(path, *, strict=True):
"""Guess the type of a file based on its path.
- Similar to guess_type(), but takes file path istead of URL.
+ Similar to guess_type(), but takes file path instead of URL.
"""
if _db is None:
init()