Skip to content

Commit

Permalink
Remove this merge as numpy shouldn't be a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmcgrath committed Apr 3, 2020
1 parent 58587b5 commit ea2979c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions twython/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"""

import sys
import numpy as np

_ver = sys.version_info

Expand All @@ -30,12 +29,12 @@

str = unicode
basestring = basestring
numeric_types = (int, long, float, np.int64, np.float64)
numeric_types = (int, long, float)


elif is_py3:
from urllib.parse import urlencode, quote_plus, parse_qsl, urlsplit

str = str
basestring = (str, bytes)
numeric_types = (int, float, np.int64, np.float64)
numeric_types = (int, float)

0 comments on commit ea2979c

Please sign in to comment.