[libc-commits] [libc] 52db903 - [libc][docs] fix typo

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Dec 12 09:49:10 PST 2024


Author: Nick Desaulniers
Date: 2024-12-12T09:48:59-08:00
New Revision: 52db903888eace2e4053a751c8f058ac7c98b49d

URL: https://github.com/llvm/llvm-project/commit/52db903888eace2e4053a751c8f058ac7c98b49d
DIFF: https://github.com/llvm/llvm-project/commit/52db903888eace2e4053a751c8f058ac7c98b49d.diff

LOG: [libc][docs] fix typo

Fixes: #119621

Added: 
    

Modified: 
    libc/utils/docgen/docgen.py

Removed: 
    


################################################################################
diff  --git a/libc/utils/docgen/docgen.py b/libc/utils/docgen/docgen.py
index 3c8b33a9b8fb2d..20716c0996ef86 100755
--- a/libc/utils/docgen/docgen.py
+++ b/libc/utils/docgen/docgen.py
@@ -183,7 +183,7 @@ def print_impl_status_rst(header: Header, api: Dict):
 # This code implicitly relies on docgen.py being in the same dir as the json
 # files and is likely to need to be fixed when re-integrating docgen into
 # hdrgen.
-def get_choices() -> List:
+def get_choices() -> list:
     choices = []
     for path in Path(__file__).parent.rglob("*.json"):
         fname = path.with_suffix(".h").name


        


More information about the libc-commits mailing list