Skip to content

Commit

Permalink
documentation i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
janickr committed Feb 25, 2024
1 parent 6daa51b commit 0fb3068
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions docs/scripts/docstrings_nl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ Scans for Bluetooth devices. Returns a list of micro:bits found within the timeo

Args:
timeout: maximum scanning time (in seconds)
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit
performs.
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit.

Returns:
A list of micro:bits found, this can also be empty if no micro:bits were found
Expand Down Expand Up @@ -274,8 +273,7 @@ Args:
microbit_name: the name of the micro:bit. This is a name of 5 letters such as 'tupaz' or 'gatug' or something like that
This is optional.
timeout: maximum scanning time (in seconds)
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit
performs.
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit.

Returns:
KaspersMicrobit: The micro:bit found
Expand Down
6 changes: 2 additions & 4 deletions src/kaspersmicrobit/kaspersmicrobit.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ def find_microbits(timeout: int = 3, loop: BluetoothEventLoop = None) -> List['K
Args:
timeout: maximum scanning time (in seconds)
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit
performs.
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit.
Returns:
A list of micro:bits found, this can also be empty if no micro:bits were found
Expand Down Expand Up @@ -184,8 +183,7 @@ def find_one_microbit(microbit_name: str = None, timeout: int = 3, loop: Bluetoo
microbit_name: the name of the micro:bit. This is a name of 5 letters such as 'tupaz' or 'gatug' or something like that
This is optional.
timeout: maximum scanning time (in seconds)
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit
performs.
loop (BluetoothEventLoop): you can leave this empty, this determines which thread communicates with the micro:bit.
Returns:
KaspersMicrobit: The micro:bit found
Expand Down

0 comments on commit 0fb3068

Please sign in to comment.