diff --git a/README.md b/README.md index dfb3fec..1842723 100644 --- a/README.md +++ b/README.md @@ -1012,7 +1012,7 @@ class C(A, B): pass ``` ### Property -**Pythonic way to implement getters and setters.** +**Pythonic way of implementing getters and setters.** ```python class MyClass: @property diff --git a/index.html b/index.html index a7cea88..e460051 100644 --- a/index.html +++ b/index.html @@ -971,7 +971,7 @@ Z = dataclasses.make_dataclass('Z', [>>> C.mro() [<class 'C'>, <class 'A'>, <class 'B'>, <class 'object'>] -

Property

Pythonic way to implement getters and setters.

class MyClass:
+

Property

Pythonic way of implementing getters and setters.

class MyClass:
     @property
     def a(self):
         return self._a