Skip to content

Commit b6d2130

Browse files
committed
Add docstring
1 parent e2891c0 commit b6d2130

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/configure.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,10 @@ def configure_file(sections, top_level_keys, targets, config):
739739

740740

741741
def write_uncommented(target, f):
742+
"""Writes each block in 'target' that is not composed entirely of comments to 'f'.
743+
744+
A block is a sequence of non-empty lines separated by empty lines.
745+
"""
742746
block = []
743747
is_comment = True
744748

0 commit comments

Comments
 (0)