diff options
author | Matus Valo <matusvalo@users.noreply.github.com> | 2023-02-18 13:32:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 12:32:46 +0000 |
commit | cf9c2f07de36ecc4e4aa21999a7e7982df59b881 (patch) | |
tree | 22bc9dd1d222de125131c098104e0839970aa56a /docs/examples/tutorial/cython_tutorial | |
parent | 1c3a212084744ab52c3e928857a636c312c8f20e (diff) | |
download | cython-cf9c2f07de36ecc4e4aa21999a7e7982df59b881.tar.gz |
[docs] Softdeprecated C style array declaration in favour of Java style declaration (#5248)
Co-authored-by: GalaxySnail <me@glxys.nl>
Diffstat (limited to 'docs/examples/tutorial/cython_tutorial')
-rw-r--r-- | docs/examples/tutorial/cython_tutorial/primes.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/tutorial/cython_tutorial/primes.pyx b/docs/examples/tutorial/cython_tutorial/primes.pyx index 2f93b17fc..7707e30dc 100644 --- a/docs/examples/tutorial/cython_tutorial/primes.pyx +++ b/docs/examples/tutorial/cython_tutorial/primes.pyx @@ -1,6 +1,6 @@ def primes(int nb_primes): cdef int n, i, len_p - cdef int p[1000] + cdef int[1000] p if nb_primes > 1000: nb_primes = 1000 |