[Checkins] SVN: zope.interface/trunk/ typo implementor->implementer
Brian Sutherland
jinty at web.de
Sun Oct 9 13:21:30 EST 2011
Log message for revision 123036:
typo implementor->implementer
Changed:
U zope.interface/trunk/CHANGES.txt
U zope.interface/trunk/src/zope/interface/README.ru.txt
U zope.interface/trunk/src/zope/interface/README.txt
U zope.interface/trunk/src/zope/interface/declarations.py
-=-
Modified: zope.interface/trunk/CHANGES.txt
===================================================================
--- zope.interface/trunk/CHANGES.txt 2011-10-09 14:09:51 UTC (rev 123035)
+++ zope.interface/trunk/CHANGES.txt 2011-10-09 18:21:28 UTC (rev 123036)
@@ -132,7 +132,7 @@
can now also be written::
- @implementor(IFoo):
+ @implementer(IFoo):
class Foo:
...
Modified: zope.interface/trunk/src/zope/interface/README.ru.txt
===================================================================
--- zope.interface/trunk/src/zope/interface/README.ru.txt 2011-10-09 14:09:51 UTC (rev 123035)
+++ zope.interface/trunk/src/zope/interface/README.ru.txt 2011-10-09 18:21:28 UTC (rev 123036)
@@ -233,14 +233,14 @@
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.
Modified: zope.interface/trunk/src/zope/interface/README.txt
===================================================================
--- zope.interface/trunk/src/zope/interface/README.txt 2011-10-09 14:09:51 UTC (rev 123035)
+++ zope.interface/trunk/src/zope/interface/README.txt 2011-10-09 18:21:28 UTC (rev 123036)
@@ -247,14 +247,14 @@
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.
Modified: zope.interface/trunk/src/zope/interface/declarations.py
===================================================================
--- zope.interface/trunk/src/zope/interface/declarations.py 2011-10-09 14:09:51 UTC (rev 123035)
+++ zope.interface/trunk/src/zope/interface/declarations.py 2011-10-09 18:21:28 UTC (rev 123036)
@@ -497,7 +497,7 @@
# 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:
More information about the checkins
mailing list