[Tutor] single underscore convention?

Eugene Leitl Eugene.Leitl@lrz.uni-muenchen.de
Wed, 30 May 2001 12:24:48 +0200 (MET DST)


I'm hacking some random tree code, attempting to dump a tree as a HTML
table. The code snippet I'm using has:

if __name__ == "__main__":

	blah blah blah


	_def _test1():
        	print animals[0]    # print Mammals
        	animals.printtree()

	blah blah blah

	_test1()



Why the underscore, is this a convention?