From fc8788b2300f6674764d20bf2f0835a0cc38b544 Mon Sep 17 00:00:00 2001 From: Rahiel Kasim Date: Tue, 14 Jun 2016 14:04:43 +0200 Subject: [PATCH] speed.rst: PEP8 in examples PEP8 --- docs/scenarios/speed.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/scenarios/speed.rst b/docs/scenarios/speed.rst index 21166b275..fc038c1c7 100644 --- a/docs/scenarios/speed.rst +++ b/docs/scenarios/speed.rst @@ -108,7 +108,7 @@ keywords compared to the next one, which is implemented in pure Python: def primes(kmax): """Calculation of prime numbers in standard Python syntax""" - p= range(1000) + p = range(1000) result = [] if kmax > 1000: kmax = 1000 @@ -145,7 +145,7 @@ to be compiled into C types while also creating a Python list: def primes(kmax): """Calculation of prime numbers in standard Python syntax""" - p= range(1000) + p = range(1000) result = [] What is the difference? In the upper Cython version you can see the