What's the proper style for a library string function?
Ian Kelly
ian.g.kelly at gmail.com
Sat Jul 19 15:00:23 EDT 2014
More information about the Python-list mailing list
Sat Jul 19 15:00:23 EDT 2014
- Previous message (by thread): What's the proper style for a library string function?
- Next message (by thread): What's the proper style for a library string function?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Jul 19, 2014 at 12:52 PM, C.D. Reimer <chris at cdreimer.com> wrote: > I've seen code samples for simple functions with the definition and return > statements written on one line. Personally, I use this style sometimes for easily understood one-line if statements or loops. Named functions consist of an interface declaration and an implementation, and those should be visually separated by a newline.
- Previous message (by thread): What's the proper style for a library string function?
- Next message (by thread): What's the proper style for a library string function?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list