Skip to content

Commit 1398e51

Browse files
committed
Expose wraptext function in the module's public API
1 parent 6c36fc3 commit 1398e51

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

anypytools/tools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"anybodycon_version",
4949
"AMSVersion",
5050
"parse_anybodycon_output",
51+
"wraptext"
5152
]
5253

5354

@@ -202,7 +203,7 @@ def _ammr_any_version(fpath):
202203
return "Unknown AMMR version"
203204

204205

205-
def _wraptext(elem, initial_indent="", subsequent_indent=None):
206+
def wraptext(elem, initial_indent="", subsequent_indent=None):
206207
"""Wraps text to fit the terminal window."""
207208
width = 120
208209
if sys.version_info.major == 3:

0 commit comments

Comments
 (0)