Every line of 'count function in python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
236 def _count(space): 237 """_count() -> integer 238 Return the number of currently running Python threads, excluding 239 the main thread. The returned number comprises all threads created 240 through `start_new_thread()` as well as `threading.Thread`, and not 241 yet finished. 242 243 This function is meant for internal and specialized purposes only. 244 In most applications `threading.enumerate()` should be used instead.""" 245 return space.newint(bootstrapper.nbthreads)
57 def Count(f, alias='count'): 58 return ('COUNT', f, alias)