diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2023-07-08 10:35:19 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-17 22:48:43 +0200 |
commit | b0efa49ed179d3aa1fa0358d4c3c6d35a0efb291 (patch) | |
tree | f7ebc8fb2bd620198c1a0a0370048019e512ee3b /runtime | |
parent | 876f5fb570d8401aa4c58af4a5da91f10520aa9d (diff) |
patch 9.0.1727: minor problems with the teapotv9.0.1727
Problem: minor problems with the teapot()
Solution: remove the null check, update documentation
Update the builtin-function-list entry. (It implicitly returns 0, but such
functions usually use "none")
Also, tv_get_string_strict() can not return NULL, so remove that check
closes: #12647
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 2f6961d7dc..6a5ec1bacb 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -156,7 +156,7 @@ digraph_setlist({digraphlist}) Boolean register multiple |digraph|s echoraw({expr}) none output {expr} as-is empty({expr}) Number |TRUE| if {expr} is empty environ() Dict return environment variables -err_teapot() Number produce error 418 +err_teapot([{expr}]) none give E418, or E503 if {expr} is |TRUE| escape({string}, {chars}) String escape {chars} in {string} with '\' eval({string}) any evaluate {string} into its value eventhandler() Number |TRUE| if inside an event handler |