about summary refs log tree commit diff
path: root/src/bootstrap/configure.py
diff options
context:
space:
mode:
authorAleksey Kliger <alklig@microsoft.com>2025-07-07 15:45:18 -0400
committerAleksey Kliger <alklig@microsoft.com>2025-07-07 15:56:37 -0400
commitb6d21308672c9a0aa5c73beeb1d528aab3d347ed (patch)
tree5683cb4ac2616c7172e6d9e550e9c8518f180b7b /src/bootstrap/configure.py
parente2891c0fb9060f80e6aa24e0dc0a9c43b0861b8f (diff)
downloadrust-b6d21308672c9a0aa5c73beeb1d528aab3d347ed.tar.gz
rust-b6d21308672c9a0aa5c73beeb1d528aab3d347ed.zip
Add docstring
Diffstat (limited to 'src/bootstrap/configure.py')
-rwxr-xr-xsrc/bootstrap/configure.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
index bec7a1c41b4..94e02f942dc 100755
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
@@ -739,6 +739,10 @@ def configure_file(sections, top_level_keys, targets, config):
 
 
 def write_uncommented(target, f):
+    """Writes each block in 'target' that is not composed entirely of comments to 'f'.
+
+    A block is a sequence of non-empty lines separated by empty lines.
+    """
     block = []
     is_comment = True