Skip to content

Commit fba0551

Browse files
Add preserve_blank_lines parameter to titlecase docstring
1 parent 8ef9d0f commit fba0551

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

titlecase/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,11 @@ def titlecase(text, callback=None, small_first_last=True, preserve_blank_lines=F
8282
:param text: Titlecases input text
8383
:param callback: Callback function that returns the titlecase version of a specific word
8484
:param small_first_last: Capitalize small words (e.g. 'A') at the beginning; disabled when recursing
85+
:param preserve_blank_lines: Preserve blank lines in the output
8586
:type text: str
8687
:type callback: function
8788
:type small_first_last: bool
89+
:type preserve_blank_lines: bool
8890
8991
This filter changes all words to Title Caps, and attempts to be clever
9092
about *un*capitalizing SMALL words like a/an/the in the input.

0 commit comments

Comments
 (0)