Skip to content

Commit c4c73ed

Browse files
author
Manoj
committed
Fixed Code Block under Private Variables
1 parent 1155918 commit c4c73ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Doc/tutorial/classes.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,6 @@ occurs within the definition of a class. For example:
696696
class Employee:
697697
__dept = 'computer lab'
698698
def __detail(self):
699-
# __dept is a private variable,so we access it with _Employee__dept
700699
print('Employee is from',self.__dept)
701700
702701
.. code-block:: pycon

0 commit comments

Comments
 (0)