summaryrefslogtreecommitdiff
path: root/doc/tools
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2022-03-07 20:25:21 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-05-11 16:30:37 +0300
commitdbd7a315074257bca834e1448b53a905ebb8dd8b (patch)
treea13d08663bc046cb445373b7828d0f3ac42cd867 /doc/tools
parent9963ae3553d059e4ac3b57c7a4cdc55d1a87d49a (diff)
Implement exponential operator (**) to GDScript/Expressions
Diffstat (limited to 'doc/tools')
-rwxr-xr-xdoc/tools/make_rst.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py
index eba4cee33a..1b98699c44 100755
--- a/doc/tools/make_rst.py
+++ b/doc/tools/make_rst.py
@@ -1409,6 +1409,8 @@ def sanitize_operator_name(dirty_name, state): # type: (str, State) -> str
clear_name = "div"
elif clear_name == "%":
clear_name = "mod"
+ elif clear_name == "**":
+ clear_name = "pow"
elif clear_name == "unary+":
clear_name = "unplus"