Re: [Tutor] underscore function

2006-04-13 Thread Pujo Aji
Python programmers prefer to use name convention to make method of class "looks" private.Usually they use of '_' before the private method or private attribute name.This private method like the one you mentioned def _abc is not intentionaly used outside the class other then it is used among other c

Re: [Tutor] underscore function

2006-04-13 Thread Tim Golden
[linda.s] | I got a sample code and found some | function definition looks like def _abc | There is one underscore before the function name "abc", | what does it mean? It's a convention which indicates to any user of the code (including the original developer) that the function is not intended to

[Tutor] underscore function

2006-04-13 Thread linda.s
I got a sample code and found some function definition looks like def _abc There is one underscore before the function name "abc", what does it mean? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor