浏览代码

Merge pull request #55 from ipreacher/ipreacher-patch-2

Update oop.md
Swaroop C H 8 年之前
父节点
当前提交
e4a27c7425
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      oop.md

+ 1 - 1
oop.md

@@ -46,7 +46,7 @@ Output:
 
 We create a new class using the `class` statement and the name of the class. This is followed by an indented block of statements which form the body of the class. In this case, we have an empty block which is indicated using the `pass` statement.
 
-Next, we create an object/instance of this class using the name of the class followed by a pair of parentheses. (We will learn <<init,more about instantiation>> in the next section). For our verification, we confirm the type of the variable by simply printing it. It tells us that we have an instance of the `Person` class in the `__main__` module.
+Next, we create an object/instance of this class using the name of the class followed by a pair of parentheses. (We will learn <<init, more about instantiation>> in the next section). For our verification, we confirm the type of the variable by simply printing it. It tells us that we have an instance of the `Person` class in the `__main__` module.
 
 Notice that the address of the computer memory where your object is stored is also printed. The address will have a different value on your computer since Python can store the object wherever it finds space.