Skip to content

Commit 18e309e

Browse files
authored
Merge pull request #146 from NMRbox/master
Only for Python 2
2 parents fa8ab90 + 211aeec commit 18e309e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/correctness/explicit_return_in_init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ There is no reason why the ``Rectangle`` class MUST return the area immediately
5353
def area(self):
5454
return self._area
5555
56-
Note that the class must inherit from ``object`` now, since the ``property`` decorator only works for new style classes.
56+
Note that in Python 2 the class must inherit from ``object`` now, since the ``property`` decorator only works for new style classes.
5757

5858
References
5959
----------

0 commit comments

Comments
 (0)