summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-01-07 22:18:45 +0530
committerMarcel Hellkamp <marc@gsites.de>2020-12-31 19:28:56 +0100
commit4e78a67564ae080a4f458bd3ebbea12d7127c75e (patch)
tree35f8d0f67e161c7c268d0cdf3c67f78e6f7579e7
parentf48c9eb0dcb9ea7a2c230928ff0556e9e6586336 (diff)
downloadbottle-4e78a67564ae080a4f458bd3ebbea12d7127c75e.tar.gz
Fix more typos.
-rwxr-xr-xbottle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bottle.py b/bottle.py
index 7480ad3..7f163aa 100755
--- a/bottle.py
+++ b/bottle.py
@@ -116,7 +116,7 @@ py3k = py.major > 2
# 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:
@@ -603,7 +603,7 @@ class Route(object):
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)
@@ -2756,7 +2756,7 @@ class FileUpload(object):
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