소스 검색

fix metamethod _get documentation from _get(idx,val) to _get(idx)

zeromus 10 년 전
부모
커밋
4305796277
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      doc/source/reference/language/metamethods.rst

+ 1 - 1
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.
 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).
 _get must 'throw null' to notify that a key wasn't found but the there were not runtime errors(clean failure).