gh-114628: Display csv.Error without context (#115005) · python/cpython@e207cc1 · GitHub
Skip to content

Commit e207cc1

Browse files
authored
gh-114628: Display csv.Error without context (#115005)
When cvs.Error is raised when TypeError is caught, the TypeError display and 'During handling' note is just noise with duplicate information. Suppress with 'from None'.
1 parent 391659b commit e207cc1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lib/csv.py

Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)