Skip to content

Commit

Permalink
[ISSUE 17] EC7 - correction setter problem on constructor method - ad…
Browse files Browse the repository at this point in the history
…d use case
  • Loading branch information
dedece35 committed Feb 1, 2024
1 parent fc9985f commit 5c3dc4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/avoidGettersAndSettersCompliant.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from datetime import date

class Something:
def __init__(self, value):
self.value = value

class Client():

def __init__(self, age, weight):
Expand Down

0 comments on commit 5c3dc4f

Please sign in to comment.