Skip to content

Commit

Permalink
Merge pull request #2356 from spaceone/fix-typos-in-docstrings
Browse files Browse the repository at this point in the history
fix typos in docstrings and comments
  • Loading branch information
davidism committed Mar 18, 2022
2 parents 6f7e1e5 + ce1d844 commit 560dd5f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/coolmagic/utils.py
Expand Up @@ -69,7 +69,7 @@ def __init__(self, environ, url_adapter):

class ThreadedRequest:
"""
A pseudo request object that always poins to the current
A pseudo request object that always points to the current
context active request.
"""

Expand Down
2 changes: 1 addition & 1 deletion examples/plnt/sync.py
Expand Up @@ -16,7 +16,7 @@

def sync():
"""
Performs a synchronization. Articles that are already syncronized aren't
Performs a synchronization. Articles that are already synchronized aren't
touched anymore.
"""
for blog in Blog.query.all():
Expand Down
2 changes: 1 addition & 1 deletion examples/simplewiki/application.py
Expand Up @@ -55,7 +55,7 @@ def dispatch_request(self, environ, start_response):
"""Dispatch an incoming request."""
# set up all the stuff we want to have for this request. That is
# creating a request object, propagating the application to the
# current context and instanciating the database session.
# current context and instantiating the database session.
self.bind_to_context()
request = Request(environ)
request.bind_to_context()
Expand Down
2 changes: 1 addition & 1 deletion src/werkzeug/debug/__init__.py
Expand Up @@ -231,7 +231,7 @@ class DebuggedApplication:
:param app: the WSGI application to run debugged.
:param evalex: enable exception evaluation feature (interactive
debugging). This requires a non-forking server.
:param request_key: The key that points to the request object in ths
:param request_key: The key that points to the request object in this
environment. This parameter is ignored in current
versions.
:param console_path: the URL for a general purpose console.
Expand Down
2 changes: 1 addition & 1 deletion src/werkzeug/wrappers/request.py
Expand Up @@ -83,7 +83,7 @@ class Request(_SansIORequest):
#: .. versionadded:: 0.5
max_form_memory_size: t.Optional[int] = None

#: The form data parser that shoud be used. Can be replaced to customize
#: The form data parser that should be used. Can be replaced to customize
#: the form date parsing.
form_data_parser_class: t.Type[FormDataParser] = FormDataParser

Expand Down
2 changes: 1 addition & 1 deletion src/werkzeug/wrappers/response.py
Expand Up @@ -796,7 +796,7 @@ def make_conditional(
if environ["REQUEST_METHOD"] in ("GET", "HEAD"):
# if the date is not in the headers, add it now. We however
# will not override an already existing header. Unfortunately
# this header will be overriden by many WSGI servers including
# this header will be overridden by many WSGI servers including
# wsgiref.
if "date" not in self.headers:
self.headers["Date"] = http_date()
Expand Down
4 changes: 2 additions & 2 deletions tests/test_formparser.py
Expand Up @@ -293,7 +293,7 @@ def test_ie7_unc_path(self):
assert lines[0] == b"'Sellersburg Town Council Meeting 02-22-2010doc.doc'"

def test_end_of_file(self):
# This test looks innocent but it was actually timeing out in
# This test looks innocent but it was actually timing out in
# the Werkzeug 0.5 release version (#394)
data = (
b"--foo\r\n"
Expand Down Expand Up @@ -326,7 +326,7 @@ def test_file_no_content_type(self):
assert data.files["test"].read() == b"file contents"

def test_extra_newline(self):
# this test looks innocent but it was actually timeing out in
# this test looks innocent but it was actually timing out in
# the Werkzeug 0.5 release version (#394)
data = (
b"\r\n\r\n--foo\r\n"
Expand Down

0 comments on commit 560dd5f

Please sign in to comment.