From baef3f6cb40806b5d2d4d741c8a84877fc3eb154 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Fri, 6 Mar 2026 10:28:20 +0400 Subject: [PATCH] Mark `make_default_short_help` as private API Refs: https://github.com/pallets/click/issues/3189#issuecomment-3774030149 --- src/click/utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/click/utils.py b/src/click/utils.py index beae26f761..89cae3b99c 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")