# tag: openmp# You can ignore the previous line.# It's for internal testing of the Cython documentation.fromcython.parallelcimportparallelcimportopenmpcdefintnum_threadsopenmp.omp_set_dynamic(1)withnogil,parallel():num_threads=openmp.omp_get_num_threads()# ...