Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4990611 By: fabioz
If you use ''' ''' in python, that's a string in the same way that ' ' (so, you can assign it to a var, etc). In functions / classes, the first string is considered a docstring and is assigned to the function / class (but it could be a string with ' ' also, and doesn't necessarily need a ''' '''). So, ''' ''' is actually a string and # is the only comment that python has (there are no multi-line comments in python). Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Pydev-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-users
