Skip to main content

Installation

$ [sudo] pip install recursion-detect

Examples

>>> import recursion_detect
>>> def recur():
    depth = recursion_detect.depth()
    print("depth = %s" % depth)
    if depth==5:
        return
    recur()

>>> recur()
0
1
2
3
4

readme42.com

Metadata

Release files for recursion-detect 2020.12.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for recursion-detect 2020.12.3
File Size Uploaded
recursion-detect-2020.12.3.tar.gz 1.4 kB Details

Release files / recursion-detect-2020.12.3.tar.gz

Download URL recursion-detect-2020.12.3.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
84927a02217104d2eaeef7c803544aef7bfcce8ffb150541865fe4a99b27079c
BLAKE2b-256 checksum
How to use checksums
21f4143ac0be5492f240c2e0035a1e997853bcb59a7766b28130d245120eb9e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

2020.12.3 This release

1 release file

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page