We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf4834 commit 1b009f5Copy full SHA for 1b009f5
subprojects/robotpy-wpilib/wpilib/timedrobotpy.py
@@ -86,7 +86,7 @@ def add(self, item: Any) -> None:
86
def pop(self) -> Any:
87
return heappop(self._data)
88
89
- def peek(self) -> Any | None:
+ def peek(self) -> Any: # todo change to Any | None when we don't build with python 3.9
90
if self._data:
91
return self._data[0]
92
else:
0 commit comments