mirror of
https://github.com/Textualize/rich.git
synced 2026-02-06 10:58:48 +00:00
Fix typing for FloatPrompt (#3151)
Co-authored-by: Darren Burns <darrenb900@gmail.com>
This commit is contained in:
parent
0177b03700
commit
50d2a457c8
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Fixed
|
||||
|
||||
- Ensure font is correctly inherited in exported HTML https://github.com/Textualize/rich/issues/3104
|
||||
- Fixed typing for `FloatPrompt`.
|
||||
|
||||
## [13.6.0] - 2023-09-30
|
||||
|
||||
|
||||
@ -307,7 +307,7 @@ class IntPrompt(PromptBase[int]):
|
||||
validate_error_message = "[prompt.invalid]Please enter a valid integer number"
|
||||
|
||||
|
||||
class FloatPrompt(PromptBase[int]):
|
||||
class FloatPrompt(PromptBase[float]):
|
||||
"""A prompt that returns a float.
|
||||
|
||||
Example:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user