File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ The following exceptions are used mostly as base classes for other exceptions.
168168 applications with complicated exception chains and exception groups it be
169169 used to help visualize what happened when. The value will be 0 if a time
170170 was not recorded as is the case on :exc: `StopIteration ` and
171- :exc: `AsyncStopIteration `.
171+ :exc: `StopAsyncIteration `.
172172
173173 .. versionadded :: next
174174
Original file line number Diff line number Diff line change @@ -1228,10 +1228,10 @@ conflict.
12281228 exception. The values control the format of the timestamp. ``us `` or ``1 ``
12291229 displays decimal timestamps with microsecond precision, ``ns `` displays the
12301230 nanosecond timestamp as :func: `time.time_ns ` would produce, ``iso `` enables
1231- display formatted by :func: ` datetime.isoformat `. The time is not recorded
1232- on the :exc: `StopIteration ` family of exceptions for performance reasons as
1233- those are used for control flow rather than errors. If unset, empty or other
1234- values this feature is disabled.
1231+ display formatted by :meth: ` ~ datetime.datetime. isoformat `. The time is not
1232+ recorded on the :exc: `StopIteration ` family of exceptions for performance
1233+ reasons as those are used for control flow rather than errors. If unset,
1234+ empty or other values this feature is disabled.
12351235
12361236 Timestamps are collected as nanoseconds internally when exceptions are
12371237 instantiated and are available via a :attr: `~BaseException.__timestamp_ns__ `
You can’t perform that action at this time.
0 commit comments