gh-161918: Correct the documented type of `LogRecord`'s `exc_info` parameter (GH-162179)

Records created by the logging methods can hold `(None, None, None)`
(`exc_info=True` outside an `except` block) or a tuple whose traceback
is `None` (an exception instance that was never raised). Widen the
documented type to cover both.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
1 file changed