浏览代码

defferentieate -> differentiate

zeromus 9 年之前
父节点
当前提交
9218082df1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/source/reference/language/metamethods.rst

+ 2 - 2
doc/source/reference/language/metamethods.rst

@@ -64,7 +64,7 @@ _set
 
 
 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.
 ``_set`` must 'throw null' to notify that a key wasn't found but the there were not runtime errors(clean failure).
 ``_set`` must 'throw null' to notify that a key wasn't found but the there were not runtime errors(clean failure).
-This allows the program to defferentieate between a runtime error and a 'index not found'.
+This allows the program to differentiate between a runtime error and a 'index not found'.
 
 
 ^^^^^
 ^^^^^
 _get
 _get
@@ -76,7 +76,7 @@ _get
 
 
 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).
-This allows the program to defferentieate between a runtime error and a 'index not found'.
+This allows the program to differentiate between a runtime error and a 'index not found'.
 
 
 ^^^^^^^^^
 ^^^^^^^^^
 _newslot
 _newslot