summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Sutherland <brian@vanguardistas.net>2011-10-09 18:21:28 +0000
committerBrian Sutherland <brian@vanguardistas.net>2011-10-09 18:21:28 +0000
commit921318bc4bf0955cffab94f4f80fe3a9d13953e4 (patch)
tree16d63f66ae7623a2842f8b46087f563e88b18675 /src
parent3d7a4f519be2c2998cf81d3471db3a879703fd79 (diff)
downloadzope-interface-921318bc4bf0955cffab94f4f80fe3a9d13953e4.tar.gz
typo implementor->implementer
Diffstat (limited to 'src')
-rw-r--r--src/zope/interface/README.ru.txt4
-rw-r--r--src/zope/interface/README.txt4
-rw-r--r--src/zope/interface/declarations.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/zope/interface/README.ru.txt b/src/zope/interface/README.ru.txt
index 7c0dd63..a284c9a 100644
--- a/src/zope/interface/README.ru.txt
+++ b/src/zope/interface/README.ru.txt
@@ -233,14 +233,14 @@ API для объявления интерфейсов.
XXX: Double check and update these version numbers, and translate to russian:
-In zope.interface 3.5.1 and lower, the implementor decorator can not
+In zope.interface 3.5.1 and lower, the implementer decorator can not
be used for classes, but in 3.5.2 and higher it can:
>>> Foo = zope.interface.implementer(IFoo)(Foo)
>>> list(zope.interface.providedBy(Foo()))
[<InterfaceClass __main__.IFoo>]
-Note that class decorators using the @implementor(IFoo) syntax are only
+Note that class decorators using the @implementer(IFoo) syntax are only
supported in Python 2.6 and later.
diff --git a/src/zope/interface/README.txt b/src/zope/interface/README.txt
index e5bc7b3..253d1ed 100644
--- a/src/zope/interface/README.txt
+++ b/src/zope/interface/README.txt
@@ -247,14 +247,14 @@ zope.formlib, as an example.
XXX: Double check and update these version numbers:
-In zope.interface 3.5.2 and lower, the implementor decorator can not
+In zope.interface 3.5.2 and lower, the implementer decorator can not
be used for classes, but in 3.6.0 and higher it can:
>>> Foo = zope.interface.implementer(IFoo)(Foo)
>>> list(zope.interface.providedBy(Foo()))
[<InterfaceClass __main__.IFoo>]
-Note that class decorators using the @implementor(IFoo) syntax are only
+Note that class decorators using the @implementer(IFoo) syntax are only
supported in Python 2.6 and later.
diff --git a/src/zope/interface/declarations.py b/src/zope/interface/declarations.py
index 3ee27c4..bafe399 100644
--- a/src/zope/interface/declarations.py
+++ b/src/zope/interface/declarations.py
@@ -497,7 +497,7 @@ class implementer_only:
# XXX Does this decorator make sense for anything but classes?
# I don't think so. There can be no inheritance of interfaces
# on a method pr function....
- raise ValueError('The implementor_only decorator is not '
+ raise ValueError('The implementer_only decorator is not '
'supported for methods or functions.')
else:
# Assume it's a class: