Skip to content

Commit fd6a961

Browse files
committed
Hide get all function.
This syntax is weird. I don't want it public for now.
1 parent 8ce4b7e commit fd6a961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcod/sdl/joystick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def get_controllers() -> List[GameController]:
375375
return [GameController._open(i) for i in range(_get_number()) if lib.SDL_IsGameController(i)]
376376

377377

378-
def get_all() -> List[Union[Joystick, GameController]]:
378+
def _get_all() -> List[Union[Joystick, GameController]]:
379379
"""Return a list of all connected joystick or controller devices.
380380
381381
If the joystick has a controller mapping then it is returned as a :any:`GameController`.

0 commit comments

Comments
 (0)