From fd82b5a0ceb48c66ff946650710d3c0fa32f366d Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Mon, 20 Dec 2021 17:52:48 -0800 Subject: [PATCH] Fix docs --- Utilities/expand-availability.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Utilities/expand-availability.py b/Utilities/expand-availability.py index 60d31c1..94b9aed 100755 --- a/Utilities/expand-availability.py +++ b/Utilities/expand-availability.py @@ -1,8 +1,7 @@ #!/usr/bin/env python3 -# This script uses the file `availability-macros.def` to automatically -# add/remove `@available` attributes to declarations in Swift sources -# in this package. +# This script can be used to automatically add/remove `@available` attributes to +# declarations in Swift sources in this package. # # In order for this to work, ABI-impacting declarations need to be annotated # with special comments in the following format: @@ -34,9 +33,8 @@ # "Hello" # } # -# The script recognizes these attributes and updates/removes them on each run, -# so you can run the script to enable/disable attributes without worrying about -# duplicate attributes. +# The script recognizes all three forms of these annotations and updates them on +# every run, so we can run the script to enable/disable attributes as needed. import os import os.path