Skip to content

Commit 709668a

Browse files
committed
Add detailed docstrings for NullablePositiveOrZeroInt class and its methods to enhance documentation and clarify functionality.
1 parent 55e5bcd commit 709668a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pyvalueobjects/numbers/nullable_positive_or_zero_int.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66

77
class NullablePositiveOrZeroInt(_nullable_cls):
8+
"""
9+
A nullable value object representing a positive integer or zero. Inherits from a nullable version of PositiveOrZeroInt and allows the value to be None.
10+
"""
811

912
def __init__(self, value: int = None):
13+
"""
14+
Initialize the NullablePositiveOrZeroInt object with the given positive integer or zero value or None.
15+
:param value: A positive integer or zero value, or None.
16+
"""
1017
super().__init__(value)

0 commit comments

Comments
 (0)