Skip to content

Commit

Permalink
Fix more typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
tirkarthi authored and defnull committed Dec 31, 2020
1 parent f48c9eb commit 4e78a67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bottle.py
Expand Up @@ -116,7 +116,7 @@ def getargspec(func):


# Workaround for the "print is a keyword/function" Python 2/3 dilemma
# and a fallback for mod_wsgi (resticts stdout/err attribute access)
# and a fallback for mod_wsgi (restricts stdout/err attribute access)
try:
_stdout, _stderr = sys.stdout.write, sys.stderr.write
except IOError:
Expand Down Expand Up @@ -603,7 +603,7 @@ def get_callback_args(self):
def get_config(self, key, default=None):
""" Lookup a config field and return its value, first checking the
route.config, then route.app.config."""
depr(0, 13, "Route.get_config() is deprectated.",
depr(0, 13, "Route.get_config() is deprecated.",
"The Route.config property already includes values from the"
" application config for missing keys. Access it directly.")
return self.config.get(key, default)
Expand Down Expand Up @@ -2756,7 +2756,7 @@ def __init__(self, fileobj, name, filename, headers=None):
content_length = HeaderProperty('Content-Length', reader=int, default=-1)

def get_header(self, name, default=None):
""" Return the value of a header within the mulripart part. """
""" Return the value of a header within the multipart part. """
return self.headers.get(name, default)

@cached_property
Expand Down

0 comments on commit 4e78a67

Please sign in to comment.