Skip to content

Commit 02598a8

Browse files
committed
Fix typos.
1 parent 3c41457 commit 02598a8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/lazy_object_proxy/cext.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ identity(PyObject *self, PyObject *value)
4040

4141
/* ------------------------------------------------------------------------- */
4242

43-
PyDoc_STRVAR(identity_doc, "Indentity function: returns the single argument.");
43+
PyDoc_STRVAR(identity_doc, "Identity function: returns the single argument.");
4444

4545
static struct PyMethodDef module_functions[] = {
4646
{"identity", identity, METH_O, identity_doc},

‎src/lazy_object_proxy/simple.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __wrapped__(self):
8585

8686
__name__ = property(make_proxy_method(operator.attrgetter('__name__')))
8787
__class__ = property(make_proxy_method(operator.attrgetter('__class__')))
88-
__annotations__ = property(make_proxy_method(operator.attrgetter('__anotations__')))
88+
__annotations__ = property(make_proxy_method(operator.attrgetter('__annotations__')))
8989
__dir__ = make_proxy_method(dir)
9090
__str__ = make_proxy_method(str)
9191
__bytes__ = make_proxy_method(bytes)

‎src/lazy_object_proxy/slots.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def __class__(self, value):
130130

131131
@property
132132
def __annotations__(self):
133-
return self.__wrapped__.__anotations__
133+
return self.__wrapped__.__annotations__
134134

135135
@__annotations__.setter
136136
def __annotations__(self, value):

0 commit comments

Comments
 (0)