Skip to content

Commit 9c80782

Browse files
committed
Fix failing CI builds for Docstring
1 parent 2c084dc commit 9c80782

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

pandas/core/accessor.py

+10-4
Original file line numberDiff line numberDiff line change
@@ -262,13 +262,19 @@ def _register_accessor(name: str, cls):
262262
The requirements for the accessor class are as follows:
263263
264264
* Must contain an init method that:
265-
* accepts a single {klass} object
266-
* raises an {AttributeError} if the {klass} object does not have correctly
265+
266+
* accepts a single {klass} object
267+
268+
* raises an AttributeError if the {klass} object does not have correctly
267269
matching inputs for the accessor
270+
268271
* Must contain a method for each access pattern.
269-
* The methods should be able to take any argument signature.
270-
* Accessible using the @property decorator if no additional arguments are
272+
273+
* The methods should be able to take any argument signature.
274+
275+
* Accessible using the @property decorator if no additional arguments are
271276
needed.
277+
272278
"""
273279

274280
def decorator(accessor):

0 commit comments

Comments
 (0)