On Tue, May 22, 2012 at 10:05:33AM +0900, FUJITA Tomonori wrote:
> On Tue, 22 May 2012 09:20:13 +0900
> Isaku Yamahata <[email protected]> wrote:
> 
> > It might be too lay, id_ please, not _id.
> > Otherwise looks good.
> 
> Oops, I'll fix it. btw, can you give me a pointer about this naming
> rule? I'd like to put it to the commit log.

>From pep8
http://www.python.org/dev/peps/pep-0008/#naming-conventions

> _single_leading_underscore: weak "internal use" indicator.
> E.g. from M import * does not import objects whose name starts with
> an underscore.
>
> single_trailing_underscore_: used by convention to avoid conflicts
> with Python keyword,
> e.g. Tkinter.Toplevel(master, class_='ClassName')

-- 
yamahata

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to