Skip to content

Commit 232c6ba

Browse files
committed
Merge pull request quantifiedcode#11 from arand/patch-1
__init__ should return None
2 parents 3b3c931 + 9b586df commit 232c6ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/maintainability/using_the_global_statement.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ In the modified code below, the author eliminates the need for the global variab
5454
def __init__(self, width, height):
5555
self.width = width
5656
self.height = height
57-
return self.area
5857
def area(self):
5958
return self.width * self.height
6059
def circumference(self):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy