mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
fix: no implicit optional (#7984)
This commit is contained in:
@ -8,7 +8,7 @@ class FenwickTree:
|
||||
More info: https://en.wikipedia.org/wiki/Fenwick_tree
|
||||
"""
|
||||
|
||||
def __init__(self, arr: list[int] = None, size: int = None) -> None:
|
||||
def __init__(self, arr: list[int] | None = None, size: int | None = None) -> None:
|
||||
"""
|
||||
Constructor for the Fenwick tree
|
||||
|
||||
|
Reference in New Issue
Block a user