diff options
| author | Jason Madden <jamadden@gmail.com> | 2021-04-15 04:50:13 -0500 |
|---|---|---|
| committer | Jason Madden <jamadden@gmail.com> | 2021-04-15 04:50:13 -0500 |
| commit | 6a293da77550df4a57bce7ae3ba53390034fbf23 (patch) | |
| tree | bcb7e3a2416de62de1b8ca29a614c5cf9210ba80 /src | |
| parent | 8a0a8f1dea4a042ac31d48ae60111d2179f73d59 (diff) | |
| download | zope-interface-6a293da77550df4a57bce7ae3ba53390034fbf23.tar.gz | |
Finish sentence in docstring. [skip ci]
Diffstat (limited to 'src')
| -rw-r--r-- | src/zope/interface/declarations.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zope/interface/declarations.py b/src/zope/interface/declarations.py index 0289ddc..f23a254 100644 --- a/src/zope/interface/declarations.py +++ b/src/zope/interface/declarations.py @@ -1246,7 +1246,8 @@ class ObjectSpecificationDescriptor(object): """Implement the ``__providedBy__`` attribute The ``__providedBy__`` attribute computes the interfaces provided by - an object. If an object has an ``__provides__`` attribute + an object. If an object has an ``__provides__`` attribute, that is returned. + Otherwise, `implementedBy` the *cls* is returned. .. versionchanged:: 5.4.0 Both the default (C) implementation and the Python implementation |
