Single Pound # comments versus Double Pound ## comments
Sean 'Shaleh' Perry
shalehperry at attbi.com
Fri Oct 4 15:34:51 EDT 2002
More information about the Python-list mailing list
Fri Oct 4 15:34:51 EDT 2002
- Previous message (by thread): Single Pound # comments versus Double Pound ## comments
- Next message (by thread): Single Pound # comments versus Double Pound ## comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday 04 October 2002 12:12, Manuel M. Garcia wrote: > In Python code, does anyone distinguish between starting comments with > a single pound (#) or a double pound (##)? > ActivePython colorizes them differently (# - green, ## - gray), and > not understanding the distinction implied is bugging me. My guess is it sees ## as "I am commenting out this block of code temporarily". I have also seen people use ## for block comments above a function or tricky piece of code.
- Previous message (by thread): Single Pound # comments versus Double Pound ## comments
- Next message (by thread): Single Pound # comments versus Double Pound ## comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list