Skip to content

Commit 921cace

Browse files
isidenticalgvanrossum
authored andcommitted
semicolon instead of colon at function definition (#979)
1 parent 92f4dbd commit 921cace

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pep-0336.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Before, checking function table entry against ``None``::
6464
def b(self, input):
6565
print 'b'
6666

67-
def c(self, input);
67+
def c(self, input):
6868
print 'c'
6969

7070
def __call__(self, input):
@@ -84,7 +84,7 @@ Before, using a local no effect method::
8484
def b(self, input):
8585
print 'b'
8686

87-
def c(self, input);
87+
def c(self, input):
8888
print 'c'
8989

9090
def nop(self, input):
@@ -106,7 +106,7 @@ After::
106106
def b(self, input):
107107
print 'b'
108108

109-
def c(self, input);
109+
def c(self, input):
110110
print 'c'
111111

112112
def __call__(self, input):

0 commit comments

Comments
 (0)