浏览代码

Merge pull request #19 from archerImagine/master

The description and function name in code were not matching.
Swaroop C H 10 年之前
父节点
当前提交
92b172e322
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      oop.asciidoc

+ 1 - 1
oop.asciidoc

@@ -155,7 +155,7 @@ Most importantly, notice that we do not explicitly call the `__init__` method bu
 arguments in the parentheses following the class name when creating a new instance of the
 class. This is the special significance of this method.
 
-Now, we are able to use the `self.name` field in our methods which is demonstrated in the `sayHi`
+Now, we are able to use the `self.name` field in our methods which is demonstrated in the `say_hi`
 method.
 
 [[class_obj_vars]]