mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
This commit is contained in:
parent
4b17e3993b
commit
f0dfc7ac5c
43 changed files with 47 additions and 47 deletions
|
@ -65,7 +65,7 @@ class MimeTypes:
|
|||
self.read(name, strict)
|
||||
|
||||
def add_type(self, type, ext, strict=True):
|
||||
"""Add a mapping between a type and and extension.
|
||||
"""Add a mapping between a type and an extension.
|
||||
|
||||
When the extension is already known, the new
|
||||
type will replace the old one. When the type
|
||||
|
@ -269,7 +269,7 @@ def guess_extension(type, strict=True):
|
|||
return guess_extension(type, strict)
|
||||
|
||||
def add_type(self, type, ext, strict=True):
|
||||
"""Add a mapping between a type and and extension.
|
||||
"""Add a mapping between a type and an extension.
|
||||
|
||||
When the extension is already known, the new
|
||||
type will replace the old one. When the type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue