Skip to content

Commit fc8788b

Browse files
authored
speed.rst: PEP8 in examples
PEP8
1 parent 91e2085 commit fc8788b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/scenarios/speed.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ keywords compared to the next one, which is implemented in pure Python:
108108
def primes(kmax):
109109
"""Calculation of prime numbers in standard Python syntax"""
110110
111-
p= range(1000)
111+
p = range(1000)
112112
result = []
113113
if kmax > 1000:
114114
kmax = 1000
@@ -145,7 +145,7 @@ to be compiled into C types while also creating a Python list:
145145
def primes(kmax):
146146
"""Calculation of prime numbers in standard Python syntax"""
147147
148-
p= range(1000)
148+
p = range(1000)
149149
result = []
150150
151151
What is the difference? In the upper Cython version you can see the

0 commit comments

Comments
 (0)