Skip to content

Commit fa3b879

Browse files
docs(transport): Fix stale comment referencing get_retry_after
1 parent aa7c9e1 commit fa3b879

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sentry_sdk/transport.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def __init__(self: "Self", options: "Dict[str, Any]") -> None:
223223
self._worker = self._create_worker(options)
224224
self._auth = self.parsed_dsn.to_auth("sentry.python/%s" % VERSION)
225225
self._disabled_until: "Dict[Optional[EventDataCategory], datetime]" = {}
226-
# We only use this Retry() class for the `get_retry_after` method it exposes
226+
# We only use this Retry() class for the `parse_retry_after` method it exposes
227227
self._retry = urllib3.util.Retry()
228228
self._discarded_events: "DefaultDict[Tuple[EventDataCategory, str], int]" = (
229229
defaultdict(int)

0 commit comments

Comments
 (0)