api
A module for demonstrating how styles for docs produced by sphinx-autoapi look like.
Functions
|
Prompt the user for a value. |
|
Returns the sum of two numbers. |
Module Contents
- prompt(message: str, default: str | None = None) str | None
Prompt the user for a value.
Parameters
- message: str
The message to prompt the user with.
- default: str | None
The default value, by default None.
Returns:
- str | None
The value entered by the user or the default value, if the user didn’t enter anything.