diff --git a/src/micropython/__init__.py b/src/micropython/__init__.py index a00304b..d8cee2a 100644 --- a/src/micropython/__init__.py +++ b/src/micropython/__init__.py @@ -177,9 +177,9 @@ def kbd_intr(chr: int) -> None: """ kbd_intr(chr) - Sets the character that raises a ``KeyboardInterrupt`` exception when + Sets the character that triggers a ``KeyboardInterrupt`` exception when you type it in the input window. By default it is set to ``3``, - corresponding to :kbd:`Ctrl-C`. + which corresponds to pressing :kbd:`Ctrl` :kbd:`C`. Arguments: chr (int): Character that should raise the ``KeyboardInterrupt``. diff --git a/src/ubuiltins/__init__.py b/src/ubuiltins/__init__.py index b7cd4eb..c227f0f 100644 --- a/src/ubuiltins/__init__.py +++ b/src/ubuiltins/__init__.py @@ -1399,7 +1399,7 @@ class KeyError(LookupError): class KeyboardInterrupt(BaseException): """ - Raised when the user hits the interrupt key (normally :kbd:`Control-C`). + Raised when the user hits the interrupt key (normally :kbd:`Ctrl` :kbd:`C`). """