58: A bit of docstring cleanup in plugable.py

This commit is contained in:
Jason Gerard DeRose 2008-08-06 14:22:38 +00:00
parent e618d99bc7
commit 2081987186

View File

@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
""" """
Utility classes for registering plugins, base classes for writing plugins. Base classes for plug-in architecture and generative API.
""" """
import re import re
@ -89,8 +89,7 @@ class Plugin(object):
def __repr__(self): def __repr__(self):
""" """
Returns a valid Python expression that could create this plugin Returns a fully qualified <module><name> representation of the class.
instance given the appropriate environment.
""" """
return '%s.%s' % ( return '%s.%s' % (
self.__class__.__module__, self.__class__.__module__,
@ -125,7 +124,7 @@ class ReadOnly(object):
class Proxy(ReadOnly): class Proxy(ReadOnly):
""" """
Used to only export certain attributes into the dynamic API. Used to only export certain attributes into the generative API.
Subclasses must list names of attributes to be proxied in the __slots__ Subclasses must list names of attributes to be proxied in the __slots__
class attribute. class attribute.