Mercurial > p > roundup > code
view roundup/anypy/http_.py @ 8386:4e2ffa4151cb
doc: formatting fix. Don't trigger description list.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 12 Jul 2025 17:53:17 -0400 |
| parents | 9d2ad7386627 |
| children |
line wrap: on
line source
try: # Python 3+ from http import client, server except (ImportError, AttributeError): # Python 2.5-2.7 import BaseHTTPServer as server # noqa: F401 import httplib as client # noqa: F401 client.TOO_MANY_REQUESTS = 429
