Note deprecation of constant keyword on functions

This commit is contained in:
wbt
2018-02-27 00:08:17 +01:00
committed by Alex Beregszaszi
parent eb3b92f831
commit 92fe9e621e
+1 -1
View File
@@ -467,7 +467,7 @@ The following statements are considered modifying the state:
}
.. note::
``constant`` on functions is an alias to ``view``.
``constant`` on functions is an alias to ``view``, but this is deprecated and is planned to be dropped in version 0.5.0.
.. note::
Getter methods are marked ``view``.