Skip to content

Commit 512de0b

Browse files
DaleSeoyasoob
authored andcommitted
Fix the class name (yasoob#171)
* Fix the class name `GetTest` is the right class name. * Updated the output
1 parent e0e5507 commit 512de0b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

classes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ Implementing **getitem** in a class allows its instances to use the []
201201
return self.info[i]
202202
203203
foo = GetTest()
204+
204205
foo['name']
205206
# Output: 'Yasoob'
206207

0 commit comments

Comments
 (0)