Skip to content

Commit

Permalink
Docstring style and wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Theune committed Jun 26, 2008
1 parent 302f375 commit cf5939c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/zope/app/container/interfaces.py
Expand Up @@ -248,10 +248,13 @@ def checkName(name, object):

def chooseName(name, object):
"""Choose a unique valid name for the object.
This method is expected to always choose a valid name without error.
The given name and object may be taken into account when
choosing the name.
chooseName is expected to always choose a valid name (that would pass
the checkName test) and never raise an error.
"""


Expand Down

0 comments on commit cf5939c

Please sign in to comment.