Skip to content

Commit

Permalink
add docstring to ConstantSequence class
Browse files Browse the repository at this point in the history
  • Loading branch information
VascoSch92 committed Jan 3, 2024
1 parent 5fbcc3e commit 6a1722c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sequence/sequences/integer/periodic_generalised.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@


class ConstantSequence(Periodic):
"""
The class represent a constant sequence of a given value
Attributes:
value (int): the values that the constant sequence is taking
"""
sequence_name = 'value sequence'

def __init__(self, value: int) -> None:
Expand Down

0 comments on commit 6a1722c

Please sign in to comment.