File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -262,13 +262,19 @@ def _register_accessor(name: str, cls):
262
262
The requirements for the accessor class are as follows:
263
263
264
264
* 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
267
269
matching inputs for the accessor
270
+
268
271
* 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
271
276
needed.
277
+
272
278
"""
273
279
274
280
def decorator (accessor ):
You can’t perform that action at this time.
0 commit comments