Skip to content

Commit 4f03b05

Browse files
committed
extra docstrings
1 parent 59b0d58 commit 4f03b05

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

logwrap/log_on_access.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,13 @@ def __init__(
196196
self.__owner: typing.Optional[type] = None
197197

198198
def __set_name__(self, owner: typing.Optional[type], name: str) -> None:
199-
"""Set __name__ and __objclass__ property."""
199+
"""Set __name__ and __objclass__ property.
200+
201+
:param owner: owner class, where descriptor applied
202+
:type owner: typing.Optional[type]
203+
:param name: descriptor name
204+
:type name: str
205+
"""
200206
self.__owner = owner
201207
self.__name = name
202208

0 commit comments

Comments
 (0)