Skip to content

Commit

Permalink
Update signature and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Aug 14, 2018
1 parent e1e5686 commit 2275197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zope/schema/_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ class Object(Field):

def __init__(self, schema, **kw):
"""
Object(schema, validate_invariants=True, **kwargs)
Object(schema, *, validate_invariants=True, **kwargs)
Create an `~.IObject` field. The keyword arguments are as for `~.Field`.
Expand Down Expand Up @@ -649,7 +649,7 @@ def _validate(self, value):
except Invalid:
# validateInvariants raises a wrapper error around
# all the errors it got if it got errors, in addition
# no appending them to the errors list. We don't want
# to appending them to the errors list. We don't want
# that, we raise our own error.
pass

Expand Down

0 comments on commit 2275197

Please sign in to comment.