Skip to content

Commit

Permalink
Update lcm-python/lcm/__init__.pyi
Browse files Browse the repository at this point in the history
Fix LCM init function not hinting None could be passed

Co-authored-by: nosracd <[email protected]>
  • Loading branch information
Pluviolithic and nosracd committed Oct 24, 2024
1 parent 1f1263a commit 8d638bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcm-python/lcm/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ from os import PathLike
from typing import Callable

class LCM:
def __init__(self, provider: str) -> None: ...
def __init__(self, provider: str | None = None) -> None: ...
def fileno(self) -> int: ...
def handle(self) -> None: ...
def handle_timeout(self, timeout_millis: int) -> int: ...
Expand Down

0 comments on commit 8d638bb

Please sign in to comment.