diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-11-10 13:37:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 10:37:57 +0000 |
commit | d6f276799754f0eab24e1c195d6dca1bc0aadf14 (patch) | |
tree | 27cde5c43200ae26e711c3e3c5bd54efdb21f4e7 /Lib/csv.py | |
parent | 2e343fc465ed0206340cf139ba485f9004bbdd41 (diff) | |
download | cpython-git-d6f276799754f0eab24e1c195d6dca1bc0aadf14.tar.gz |
gh-99281: [csv] remove try/except, `complex` always exists (#99282)
Diffstat (limited to 'Lib/csv.py')
-rw-r--r-- | Lib/csv.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/csv.py b/Lib/csv.py index 0de5656a4e..309a8f3f48 100644 --- a/Lib/csv.py +++ b/Lib/csv.py @@ -165,11 +165,6 @@ class DictWriter: __class_getitem__ = classmethod(types.GenericAlias) -# Guard Sniffer's type checking against builds that exclude complex() -try: - complex -except NameError: - complex = float class Sniffer: ''' |