Skip to content

Commit 21962c8

Browse files
authored
Update tutorial_38.py
1 parent 3a43145 commit 21962c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/tutorial_38.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ def sum_to_2(stop):
7171
print(sum_to_2(20_000_000))
7272

7373

74-
# Some simpler examples that don't make sense but is allowed.
7574
# -------------------------------------------------------------------------------------------
76-
# use regular factory function ( this is normal )
75+
# recap on regular factory function
7776
def make_greet_1():
7877

7978
def greet(name):
@@ -85,8 +84,9 @@ def greet(name):
8584
test_1 = make_greet_1()
8685
test_1('jeremy')
8786

87+
# some simpler examples that don't make sense but is allowed
8888
# -------------------------------------------------------------------------------------------
89-
# use decorator which inputs the current function, despite not using the inputed function ( not normal )
89+
# use decorator which inputs the current function, despite not using the inputed function
9090
def make_greet_2(function):
9191

9292
def greet(name):

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