diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2022-03-07 20:25:21 +0300 |
---|---|---|
committer | Yuri Rubinsky <chaosus89@gmail.com> | 2022-05-11 16:30:37 +0300 |
commit | dbd7a315074257bca834e1448b53a905ebb8dd8b (patch) | |
tree | a13d08663bc046cb445373b7828d0f3ac42cd867 /doc/tools | |
parent | 9963ae3553d059e4ac3b57c7a4cdc55d1a87d49a (diff) |
Implement exponential operator (**) to GDScript/Expressions
Diffstat (limited to 'doc/tools')
-rwxr-xr-x | doc/tools/make_rst.py | 2 |
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" |