Substitution with Hash Values

Sean 'Shaleh' Perry shalehperry at attbi.com
Sat Apr 20 11:28:10 EDT 2002


> 
> But is it true that you 'never' use them somewhere else? 
> I would think that one would like to use 'r' whenever you don't 
> want the escape-sequence-string-interpretation which is not really
> restricted to regexp-strings. 
> 
> I have noticed that e.g. the docstring of the module os.py uses
> r'...'
> 

'never' as in 'so rare as to be an exception and not the rule'.





More information about the Python-list mailing list