mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-27 19:38:39 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
60fb7eee85
commit
3393523ca3
@ -13,8 +13,9 @@ class StackData:
|
||||
Object stored on the stack
|
||||
"""
|
||||
|
||||
def __init__(self, current_value: float, min_value: float
|
||||
, max_value: float) -> None:
|
||||
def __init__(
|
||||
self, current_value: float, min_value: float, max_value: float
|
||||
) -> None:
|
||||
self.current_value = current_value
|
||||
self.min_value = min_value
|
||||
self.max_value = max_value
|
||||
@ -161,5 +162,5 @@ class MinMaxStack:
|
||||
|
||||
if __name__ == "__main__":
|
||||
from doctest import testmod
|
||||
testmod()
|
||||
|
||||
testmod()
|
||||
|
Loading…
x
Reference in New Issue
Block a user