Sfoglia il codice sorgente

makerst: Add substitution for static qualifier

Rémi Verschelde 3 anni fa
parent
commit
e87f3dd4d0
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      doc/tools/makerst.py

+ 1 - 0
doc/tools/makerst.py

@@ -1102,6 +1102,7 @@ def make_footer():  # type: () -> str
         ".. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`\n"
         ".. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`\n"
         ".. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`\n"
+        ".. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`\n"
         ".. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`\n"
     )
     # fmt: on