diff --git a/CHANGES.rst b/CHANGES.rst index 3521fe1b8..02603f323 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -13,6 +13,7 @@ Unreleased ``semver.Version``. :issue:`3298` :pr:`3299` - Fix pager test pollution under parallel execution by using pytest's ``tmp_path`` fixture instead of a shared temporary file path. :pr:`3238` +- Mark ``make_default_short_help`` as private API. :issue:`3189` :pr:`3250` Version 8.3.2 ------------- diff --git a/src/click/utils.py b/src/click/utils.py index beae26f76..89cae3b99 100644 --- a/src/click/utils.py +++ b/src/click/utils.py @@ -57,7 +57,10 @@ def make_str(value: t.Any) -> str: def make_default_short_help(help: str, max_length: int = 45) -> str: - """Returns a condensed version of help string.""" + """Returns a condensed version of help string. + + :meta private: + """ # Consider only the first paragraph. paragraph_end = help.find("\n\n")