fix: no implicit optional (#7984)

This commit is contained in:
Dhruv Manilawala
2022-11-15 19:25:14 +05:30
committed by GitHub
parent 316e71b034
commit 3bf86b91e7
6 changed files with 6 additions and 6 deletions

View File

@ -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