@@ -158,20 +158,7 @@ def loads(
158158# Copyright © 2000 BeOpen.com . All rights reserved.
159159# Copyright © 1995-2000 Corporation for National Research Initiatives . All rights reserved.
160160# Copyright © 1991-1995 Stichting Mathematisch Centrum . All rights reserved.
161- #
162-
163- # if domdf_python_tools.DOCUMENTING:
164- # WrapperDescriptorType = ''
165- # """
166- # The type of methods of some built-in data types and base classes such as
167- # :meth:`object.__init__` or :meth:`object.__lt__`.
168- # """
169- #
170- # MethodWrapperType = ''
171- # MethodDescriptorType = ''
172- # ClassMethodDescriptorType = ''
173161
174- # else:
175162WrapperDescriptorType = type (object .__init__ )
176163MethodWrapperType = type (object ().__str__ )
177164MethodDescriptorType = type (str .join )
@@ -182,6 +169,10 @@ def loads(
182169class String (Protocol ):
183170 """
184171 :class:`~typing.Protocol` for classes that implement ``__str__``.
172+
173+ .. versionchanged:: 0.8.0
174+
175+ Moved from :mod:`domdf_python_tools.stringlist`.
185176 """
186177
187178 def __str__ (self ) -> str :
@@ -194,6 +185,8 @@ class HasHead(Protocol):
194185 :class:`typing.Protocol` for classes that have a ``head``.
195186
196187 This includes :class:`pandas.DataFrame` and :class:`pandas.Series`.
188+
189+ .. versionadded:: 0.8.0
197190 """
198191
199192 def head (self : "FrameOrSeries" , n : int = 5 ) -> "FrameOrSeries" :
0 commit comments