We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a58dce commit 0f5c31cCopy full SHA for 0f5c31c
1 file changed
vetiver/ptype.py
@@ -1,5 +1,9 @@
1
from functools import singledispatch
2
-from types import NoneType
+try:
3
+ from types import NoneType
4
+except ImportError:
5
+ # python < 3.10
6
+ NoneType = type(None)
7
8
import pandas as pd
9
import numpy as np
0 commit comments