Skip to content

Commit b53777a

Browse files
committed
Clean up docstring.
1 parent 0e968cf commit b53777a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

distutils/util.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,14 @@ def execute(
315315
verbose: bool = False,
316316
dry_run: bool = False,
317317
) -> None:
318-
"""Perform some action that affects the outside world (eg. by
319-
writing to the filesystem). Such actions are special because they
320-
are disabled by the 'dry_run' flag. This method takes care of all
321-
that bureaucracy for you; all you have to do is supply the
318+
"""
319+
Perform some action that affects the outside world (e.g. by
320+
writing to the filesystem). Such actions are special because they
321+
are disabled by the 'dry_run' flag. This method handles that
322+
complication; simply supply the
322323
function to call and an argument tuple for it (to embody the
323-
"external action" being performed), and an optional message to
324-
print.
324+
"external action" being performed) and an optional message to
325+
emit.
325326
"""
326327
if msg is None:
327328
msg = f"{func.__name__}{args!r}"

0 commit comments

Comments
 (0)