Skip to content

Commit

Permalink
fix spelling mistake in exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed May 24, 2013
1 parent 9849833 commit 23f2b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Acquisition/_Acquisition.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Wrapper__init__(Wrapper *self, PyObject *args, PyObject *kwargs)
if (kwargs && PyDict_Size(kwargs) != 0)
{
PyErr_SetString(PyExc_TypeError,
"kwyword arguments not allowed");
"keyword arguments not allowed");
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Acquisition/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ def test_creating_wrappers_directly():
>>> w = ImplicitAcquisitionWrapper(obj=1)
Traceback (most recent call last):
...
TypeError: kwyword arguments not allowed
TypeError: keyword arguments not allowed
"""


Expand Down

0 comments on commit 23f2b9b

Please sign in to comment.