소스 검색

tidy metamethods general docs

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

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

@@ -6,11 +6,11 @@ Metamethods
 
 Metamethods are a mechanism that allows the customization of certain aspects of the
 language semantics. Those methods are normal functions placed in a table
-parent(delegate) or class declaration; Is possible to change many aspect of a table/class instance behavior by just defining
-a metamethod. Class objects(not instances) supports only 2 metamethods ``_newmember, _inherited`` .
+parent(delegate) or class declaration; It is possible to change many aspects of a table/class instance behavior by just defining
+a metamethod. Class objects (not instances) support only 2 metamethods ``_newmember, _inherited`` .
 
 For example when we use relational operators other than '==' on 2 tables, the VM will
-check if the table has a method in his parent called '_cmp' if so it will call it to determine
+check if the table has a method in his parent called '_cmp'; if so it will call it to determine
 the relation between the tables.::
 
     local comparable={