Limit all lines to a maximum of 79 characters.įor flowing long blocks of text with fewer structural restrictions Python disallows mixing tabs and spaces for indentation. Tabs should be used solely to remain consistent with code that is Spaces are the preferred indentation method. My_list = result = some_function_that_takes_arguments ( 'a', 'b', 'c', 'd', 'e', 'f', ) Tabs or Spaces? Indent the following should be considered there should be noĪrguments on the first line and further indentation should be used toĬlearly distinguish itself as a continuation line: Using Python’s implicit line joining inside parentheses, brackets andīraces, or using a hanging indent. Python that don’t support the feature recommended by the style guide.Ĭontinuation lines should align wrapped elements either vertically
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |