Invalid Python code in class-inheritance-example (#1324)
Invalid Python code in class-inheritance-example (#1324)

The lines
class Animal:
	def jump:
		print "I am jumping"

are invalid, because the self parameter is missing the definition of method "jump" and the print-statement requires parentheses in Python 3

correct code:

class Animal:
	def jump(self):
		print("I am jumping")
stmuk/doc,dmaestro/doc,MasterDuke17/doc,jonathanstowe/doc,gfldex/doc,antquinonez/doc,tbrowder/doc,tbrowder/doc,antquinonez/doc,stmuk/doc,antquinonez/doc,dmaestro/doc,perl6/doc,tbrowder/doc,dmaestro/doc,stmuk/doc,stmuk/doc,dmaestro/doc,jonathanstowe/doc,gfldex/doc,dmaestro/doc,perl6/doc,MasterDuke17/doc,antquinonez/doc,MasterDuke17/doc,perl6/doc,antquinonez/doc,gfldex/doc,jonathanstowe/doc,gfldex/doc,perl6/doc,MasterDuke17/doc,gfldex/doc,stmuk/doc,tbrowder/doc,jonathanstowe/doc,perl6/doc,jonathanstowe/doc