MCPcopy Index your code
hub / github.com/python/cpython / reset_retry_count

Method reset_retry_count

Lib/urllib/request.py:1072–1073  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1070 self.last_nonce = None
1071
1072 def reset_retry_count(self):
1073 self.retried = 0
1074
1075 def http_error_auth_reqed(self, auth_header, host, req, headers):
1076 authreq = headers.get(auth_header, None)

Callers 2

http_error_401Method · 0.80
http_error_407Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected