From 4305796277c1520e0f9efa8d3e0a7242a3f4796e Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 14 Apr 2016 18:22:20 -0500 Subject: [PATCH] fix metamethod _get documentation from _get(idx,val) to _get(idx) --- doc/source/reference/language/metamethods.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/reference/language/metamethods.rst b/doc/source/reference/language/metamethods.rst index 7c80ea9..a9b7c6b 100644 --- a/doc/source/reference/language/metamethods.rst +++ b/doc/source/reference/language/metamethods.rst @@ -72,7 +72,7 @@ _get :: - _get(idx,val) + _get(idx) invoked when the index idx is not present in the object or in its delegate chain. _get must 'throw null' to notify that a key wasn't found but the there were not runtime errors(clean failure).