Skip to content

Commit d56f518

Browse files
committed
Fix indentation bug
1 parent 7ed1c34 commit d56f518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Notes/05_Object_model/02_Classes_encapsulation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ One approach: introduce accessor methods.
9595
class Stock:
9696
def __init__(self, name, shares, price):
9797
self.name = name
98-
self.set_shares(shares)
99-
self.price = price
98+
self.set_shares(shares)
99+
self.price = price
100100

101101
# Function that layers the "get" operation
102102
def get_shares(self):

0 commit comments

Comments
 (0)