summaryrefslogtreecommitdiff
path: root/docs/api/decorator.rst
diff options
context:
space:
mode:
authorJason Madden <jason+github@nextthought.com>2017-09-07 11:25:32 -0500
committerGitHub <noreply@github.com>2017-09-07 11:25:32 -0500
commitf2de4625c116085404958724468899dbe784bce6 (patch)
treee12221ad7347584b0504a8bc3cca84d8000053a2 /docs/api/decorator.rst
parent125c9a2818ebcf35a76d65c2f1dbe5c08531f21e (diff)
parentc7722e5f3df4ad25558693073c30004e217a2b33 (diff)
downloadzope-security-f2de4625c116085404958724468899dbe784bce6.tar.gz
Merge pull request #30 from zopefoundation/coveralls_and_doctests
Switch to modern 'coverage' environment and run doctests on all versions; fix Travis builds
Diffstat (limited to 'docs/api/decorator.rst')
-rw-r--r--docs/api/decorator.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api/decorator.rst b/docs/api/decorator.rst
index c05c692..59a02bd 100644
--- a/docs/api/decorator.rst
+++ b/docs/api/decorator.rst
@@ -57,7 +57,7 @@ Using `selectChecker()`, we can confirm that a `Foo` object uses
... fooChecker.check(foo, 'b') # doctest: +ELLIPSIS
... except ForbiddenAttribute as e:
... e
- ForbiddenAttribute('b', <Foo object ...>)
+ ForbiddenAttribute('b', <...Foo object ...>)
and that a `Wrapper` object uses `wrappeChecker`:
@@ -71,7 +71,7 @@ and that a `Wrapper` object uses `wrappeChecker`:
... wrapperChecker.check(wrapper, 'a') # doctest: +ELLIPSIS
... except ForbiddenAttribute as e:
... e
- ForbiddenAttribute('a', <Foo object ...>)
+ ForbiddenAttribute('a', <...Foo object ...>)
(Note that the object description says `Foo` because the object is a
proxy and generally looks and acts like the object it's proxying.)
@@ -103,7 +103,7 @@ illustrate, we'll proxify `foo`:
... secure_foo.b # doctest: +ELLIPSIS
... except ForbiddenAttribute as e:
... e
- ForbiddenAttribute('b', <Foo object ...>)
+ ForbiddenAttribute('b', <...Foo object ...>)
when we wrap the secured `foo`: