From 5d3af20f64e86e9832196f0bb259ff13eddfc13e Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Thu, 10 Mar 2022 13:33:51 +0000 Subject: [PATCH] changelog and docstring --- CHANGELOG.md | 2 +- rich/console.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70809ac1a..2d4d8bcbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix syntax lexer guessing. - Fixed Pretty measure not respecting expand_all https://github.com/Textualize/rich/issues/1998 - Collapsed definitions for single-character spinners, to save memory and reduce import time. -- Fix print_json indent type in **init**.py +- Fix print_json indent type in `__init__.py` - Fix error when inspecting object defined in REPL https://github.com/Textualize/rich/pull/2037 - Fix incorrect highlighting of non-indented JSON https://github.com/Textualize/rich/pull/2038 - Fixed height reset in complex renderables https://github.com/Textualize/rich/issues/2042 diff --git a/rich/console.py b/rich/console.py index f81896a82..a9ba4d463 100644 --- a/rich/console.py +++ b/rich/console.py @@ -225,7 +225,7 @@ def update_height(self, height: int) -> "ConsoleOptions": return options def reset_height(self) -> "ConsoleOptions": - """Resets the height to None. + """Return a copy of the options with height set to ``None``. Returns: ~ConsoleOptions: New console options instance.