Skip to content

Commit d15ed50

Browse files
authored
Update disinheritance.py
docstring formatting
1 parent 5a1c49c commit d15ed50

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

disinheritance.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,15 @@ class disinherit:
2626
object type, except where specified by the exempt keyword argument
2727
2828
- exemptions are applied in order of argument declaration
29-
3029
- exemptions not available through inheritance or overridden in the
3130
target type are ignored
32-
3331
- functionally required "origin" object methods will be retained
34-
3532
- disinherited methods/attributes are replaced with NotImplemented in
3633
the target type
37-
3834
-> NotImplemented methods/attributes are ignored in dir() calls for
3935
and produce an AttributeError when retrieved from target type
4036
instances
41-
4237
-> provides explicit status in help() call on target type
43-
4438
-> use ensures reversion back to disinheritance if used for
4539
assignment but deleted in instances
4640
"""

0 commit comments

Comments
 (0)