gh-99281: [csv] remove try/except, `complex` always exists (#99282)

This commit is contained in:
Nikita Sobolev 2022-11-10 13:37:57 +03:00 committed by GitHub
parent 2e343fc465
commit d6f2767997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -165,11 +165,6 @@ def writerows(self, rowdicts):
__class_getitem__ = classmethod(types.GenericAlias)
# Guard Sniffer's type checking against builds that exclude complex()
try:
complex
except NameError:
complex = float
class Sniffer:
'''