Skip to content

Commit

Permalink
type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Oct 9, 2023
1 parent 057c1ea commit 0d30e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion f/lazy_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, units: List[ChainUnit], local_locals: Dict[str, Any], local_g
self.lazy: bool = lazy
self.result: Optional[str] = None

def __new__(cls, *args, **kwargs) -> 'LazyString':
def __new__(cls, *args: Any, **kwargs: Any) -> 'LazyString':
return str.__new__(cls)

def __add__(self, other: Union['LazyString', str]) -> str:
Expand Down

0 comments on commit 0d30e87

Please sign in to comment.