diff options
| author | Min ho Kim <minho42@gmail.com> | 2019-07-27 01:11:04 +1000 |
|---|---|---|
| committer | Min ho Kim <minho42@gmail.com> | 2019-07-27 01:11:04 +1000 |
| commit | a85a83b631ac6ff8653a9c35cd089c7889753ea3 (patch) | |
| tree | 0321399b4b04efdc1f6031af25d8c056fd4724d9 /src | |
| parent | d32e4775e6da03720a9d3b239efeec956101e954 (diff) | |
| download | pyramid-a85a83b631ac6ff8653a9c35cd089c7889753ea3.tar.gz pyramid-a85a83b631ac6ff8653a9c35cd089c7889753ea3.tar.bz2 pyramid-a85a83b631ac6ff8653a9c35cd089c7889753ea3.zip | |
Fix typos
Diffstat (limited to 'src')
| -rw-r--r-- | src/pyramid/config/actions.py | 2 | ||||
| -rw-r--r-- | src/pyramid/config/tweens.py | 2 | ||||
| -rw-r--r-- | src/pyramid/config/views.py | 2 | ||||
| -rw-r--r-- | src/pyramid/httpexceptions.py | 4 | ||||
| -rw-r--r-- | src/pyramid/scripts/prequest.py | 2 | ||||
| -rw-r--r-- | src/pyramid/testing.py | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/pyramid/config/actions.py b/src/pyramid/config/actions.py index 4a526e242..29d06d716 100644 --- a/src/pyramid/config/actions.py +++ b/src/pyramid/config/actions.py @@ -168,7 +168,7 @@ class ActionState(object): Return True if processing is needed and False otherwise. If the callable needs to be processed, it will be marked as - processed, assuming that the caller will procces the callable if + processed, assuming that the caller will process the callable if it needs to be processed. """ if spec in self._seen_files: diff --git a/src/pyramid/config/tweens.py b/src/pyramid/config/tweens.py index c85639d14..feb4a3230 100644 --- a/src/pyramid/config/tweens.py +++ b/src/pyramid/config/tweens.py @@ -73,7 +73,7 @@ class TweensConfiguratorMixin(object): If all options for ``under`` (or ``over``) cannot be found in the current configuration, it is an error. If some options are specified - purely for compatibilty with other tweens, just add a fallback of + purely for compatibility with other tweens, just add a fallback of MAIN or INGRESS. For example, ``under=('mypkg.someothertween', 'mypkg.someothertween2', INGRESS)``. This constraint will require the tween to be located under both the 'mypkg.someothertween' tween, diff --git a/src/pyramid/config/views.py b/src/pyramid/config/views.py index ac531ecb2..be7d331b4 100644 --- a/src/pyramid/config/views.py +++ b/src/pyramid/config/views.py @@ -751,7 +751,7 @@ class ViewsConfiguratorMixin(object): It's useful when you want to always potentially show a view when some object is traversed to, but you can't be sure about what kind of object it will be, so you can't use the ``context`` predicate. The - individual path elements inbetween slash characters or in tuple + individual path elements in between slash characters or in tuple elements should be the Unicode representation of the name of the resource and should not be encoded in any way. diff --git a/src/pyramid/httpexceptions.py b/src/pyramid/httpexceptions.py index 56797dc88..8dfb279ad 100644 --- a/src/pyramid/httpexceptions.py +++ b/src/pyramid/httpexceptions.py @@ -367,7 +367,7 @@ class HTTPRedirection(HTTPException): This is an abstract base class for 3xx redirection. It indicates that further action needs to be taken by the user agent in order - to fulfill the request. It does not necessarly signal an error + to fulfill the request. It does not necessarily signal an error condition. """ @@ -1040,7 +1040,7 @@ class HTTPExpectationFailed(HTTPClientError): """ subclass of :class:`~HTTPClientError` - This indidcates that the expectation given in an Expect + This indicates that the expectation given in an Expect request-header field could not be met by this server. code: 417, title: Expectation Failed diff --git a/src/pyramid/scripts/prequest.py b/src/pyramid/scripts/prequest.py index eb2032419..759978936 100644 --- a/src/pyramid/scripts/prequest.py +++ b/src/pyramid/scripts/prequest.py @@ -18,7 +18,7 @@ class PRequestCommand(object): description = """\ Submit a HTTP request to a web application. - This command makes an artifical request to a web application that uses a + This command makes an artificial request to a web application that uses a PasteDeploy (.ini) configuration file for the server and application. Use "prequest config.ini /path" to request "/path". diff --git a/src/pyramid/testing.py b/src/pyramid/testing.py index ffddd233f..0cfc1a277 100644 --- a/src/pyramid/testing.py +++ b/src/pyramid/testing.py @@ -178,7 +178,7 @@ class DummyResource: should be an interface object or tuple of interface objects that will be attached to the resulting resource via :func:`zope.interface.alsoProvides`. Any extra keywords passed - in the ``kw`` argumnent will be set as direct attributes of + in the ``kw`` argument will be set as direct attributes of the resource object. .. note:: For backwards compatibility purposes, this class can also |
