Is this just for readability to the developer? python
winexpert at hotmail.com
Wed Jun 2 14:23:53 CEST 2004
I was looking through some of our source code and I found this:
initModule( "$Revision: 3.1 $".split(" ") )
In this example, it looks like only the '3.1' is actually passed to the
function. Which leads me to speculate that the rest of it is just there to
make it easier for the developer when looking at source code to see what
version of the module is being used.
The only thing I think i notice is its also passing a list of one element?
Is this a typical way to do this in python?
MSN 9 Dial-up Internet Access fights spam and pop-ups now 3 months FREE!
More information about the Python-list