You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defis_doc_meta(obj: Annotated[Any, Doc("The object to be checked.")]) ->Annotated[bool, Doc("True if the object is a documentation object, False otherwise.")]:
40
+
defis_doc_meta(
41
+
obj: Annotated[Any, Doc("The object to be checked.")],
42
+
) ->Annotated[
43
+
bool, Doc("True if the object is a documentation object, False otherwise.")
44
+
]:
29
45
"""
30
46
Check if the given object is a documentation object.
31
47
32
48
Example:
33
49
>>> is_doc_meta(Doc("This is a documentation object"))
defunwrap_doc(obj: Annotated[Union[Doc, str], Doc("The object to get the documentation string from.")]) ->Annotated[str, Doc("The documentation string.")]:
55
+
defunwrap_doc(
56
+
obj: Annotated[
57
+
Union[Doc, str], Doc("The object to get the documentation string from.")
0 commit comments