@@ -2,7 +2,7 @@ Code Style
22==========
33
44If you ask Python programmers what they like most in Python, they will
5- often say its high readability. Indeed, a high level of readability
5+ often say its high readability. Indeed, a high level of readability
66is at the heart of the design of the Python language, following the
77recognised fact that code is read much more often than it is written.
88
@@ -253,7 +253,7 @@ will not need that variable, use ``__``:
253253 double underscore instead is just as clear and almost as convenient,
254254 and eliminates the risk of accidentally interfering with either of
255255 these other use cases.
256-
256+
257257Create a length- N list of the same thing
258258~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259259
@@ -285,10 +285,10 @@ This will set the value of the variable *word* to 'spam'. This idiom can be appl
285285Sometimes we need to search through a collection of things. Let' s look at two options: lists and dictionaries.
286286
287287Take the following code for example::
288-
288+
289289 d = {' s' : [], ' p' : [], ' a' : [], ' m' : []}
290290 l = [' s' , ' p' , ' a' , ' m' ]
291-
291+
292292 def lookup_dict(d):
293293 return ' s' in d
294294
@@ -587,9 +587,8 @@ and square braces.
587587 " that I had not even time to say “I’m going to sleep.”"
588588 )
589589
590- from some.deep.module.inside.a.module import (a_nice_function,
591- another_nice_function,
592- yet_another_nice_functio)
590+ from some.deep.module.inside.a.module import (
591+ a_nice_function, another_nice_function, yet_another_nice_function)
593592
594593However, more often than not having to split long logical line is a sign that
595594you are trying to do too many things at the same time, which may hinder
0 commit comments