semicolon instead of colon at function definition (#979)
This commit is contained in:
parent
92f4dbdbf1
commit
921cacec26
|
@ -64,7 +64,7 @@ Before, checking function table entry against ``None``::
|
|||
def b(self, input):
|
||||
print 'b'
|
||||
|
||||
def c(self, input);
|
||||
def c(self, input):
|
||||
print 'c'
|
||||
|
||||
def __call__(self, input):
|
||||
|
@ -84,7 +84,7 @@ Before, using a local no effect method::
|
|||
def b(self, input):
|
||||
print 'b'
|
||||
|
||||
def c(self, input);
|
||||
def c(self, input):
|
||||
print 'c'
|
||||
|
||||
def nop(self, input):
|
||||
|
@ -106,7 +106,7 @@ After::
|
|||
def b(self, input):
|
||||
print 'b'
|
||||
|
||||
def c(self, input);
|
||||
def c(self, input):
|
||||
print 'c'
|
||||
|
||||
def __call__(self, input):
|
||||
|
|
Loading…
Reference in New Issue