Skip to content
Myr

Mark `make_default_short_help` as private API

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kevin Deldycke · committed by Kevin Deldycke · parent 878de46 · Browse files · 2 files+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Refs: https://github.com/pallets/click/issues/3189#issuecomment-3774030149

Diff stats

2 files+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:src/click/utils.py+4 added-1 removed
55 unmodified lines
56 return str(value)575859def make_default_short_help(help: str, max_length: int = 45) -> str:60 """Returns a condensed version of help string."""60 """Returns a condensed version of help string.6162 :meta private:63 """64 # Consider only the first paragraph.65 paragraph_end = help.find("\n\n")6667 if paragraph_end != -1:
563 unmodified lines
modified:CHANGES.rst+1 added
19 unmodified lines
20- Add optional randomized parallel test execution using ``pytest-randomly`` and21 ``pytest-xdist`` to detect test pollution and race conditions. :pr:`3151`22- Add contributor documentation for running stress tests, randomized23 parallel tests, and Flask smoke tests. :pr:`3151` :pr:`3177`24- Mark ``make_default_short_help`` as private API. :issue:`3189` :pr:`3250`2526Version 8.3.227-------------28
1323 unmodified lines