Skip to content

Commit e18ac0e

Browse files
authored
Update _disinherit.py
revised docstring
1 parent 3958d1d commit e18ac0e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/disinheritance/_disinherit.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,15 @@ class disinherit:
1818
object type, except where specified by the exempt keyword argument
1919
2020
- exemptions are applied in order of argument declaration
21-
2221
- exemptions not available through inheritance or overridden in the
2322
target type are ignored
24-
2523
- functionally required "origin" object methods will be retained
26-
2724
- disinherited methods/attributes are replaced with NotImplemented in
2825
the target type
29-
3026
-> NotImplemented methods/attributes are ignored in dir() calls for
3127
and produce an AttributeError when retrieved from target type
3228
instances
33-
3429
-> provides explicit status in help() call on target type
35-
3630
-> use ensures reversion back to disinheritance if used for
3731
assignment but deleted in instances
3832
"""

0 commit comments

Comments
 (0)