ovld 0.5.10__py3-none-any.whl → 0.5.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ovld/utils.py CHANGED
@@ -205,7 +205,7 @@ _standard_instancechecks = {
205
205
 
206
206
  def is_dependent(t):
207
207
  if any(is_dependent(subt) for subt in get_args(t)):
208
- return True
208
+ return typing.get_origin(t) is not type
209
209
  elif hasattr(t, "__dependent__"):
210
210
  return t.__dependent__
211
211
  elif not isinstance(t, type):
ovld/version.py CHANGED
@@ -1 +1 @@
1
- version = "0.5.10"
1
+ version = "0.5.11"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ovld
3
- Version: 0.5.10
3
+ Version: 0.5.11
4
4
  Summary: Overloading Python functions
5
5
  Project-URL: Homepage, https://ovld.readthedocs.io/en/latest/
6
6
  Project-URL: Documentation, https://ovld.readthedocs.io/en/latest/
@@ -10,9 +10,9 @@ ovld/recode.py,sha256=vXg9XLExp_9LdAHO0JWR4wvwHhpOLu2Xcrg9ZYg1nms,16407
10
10
  ovld/signatures.py,sha256=EXE5Jik8m-3UtkS1lgr3rl5QS7NRcJfuI3VRaU6v1bg,8960
11
11
  ovld/typemap.py,sha256=jcYiIPt8wVng0u7qdceEMt7i0gmlo7BMFbvHLkf6zD8,14092
12
12
  ovld/types.py,sha256=sP4xqx5jZ-gYnQ4LlvT5v7N8I1npNdKKZf72rBelvEA,13402
13
- ovld/utils.py,sha256=8nvycMWpTmwGq7ojjDA7yi2NdkU78NBdUlvRk_vDECY,5086
14
- ovld/version.py,sha256=H2w8gxble-MJwdr4ywy0-MXcLJNCr6buKONQqjAMUuQ,19
15
- ovld-0.5.10.dist-info/METADATA,sha256=TQnXuZ-NjT_wv8OGFY6zz33x7_4QGOcN6f3bNhNmBZw,10459
16
- ovld-0.5.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
- ovld-0.5.10.dist-info/licenses/LICENSE,sha256=cSwNTIzd1cbI89xt3PeZZYJP2y3j8Zus4bXgo4svpX8,1066
18
- ovld-0.5.10.dist-info/RECORD,,
13
+ ovld/utils.py,sha256=DJvmhYRZzy3ajdGvoQUNwskV3pe3uQjxPf4lf71ZzsA,5114
14
+ ovld/version.py,sha256=Mv9x6du132E5c57DF5qnGJsOrAvDUy71sS1RpqZSerc,19
15
+ ovld-0.5.11.dist-info/METADATA,sha256=MpACktITZEAA1nAoiIrl-d8T-M9bXdisE5gIuJtg1JM,10459
16
+ ovld-0.5.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
+ ovld-0.5.11.dist-info/licenses/LICENSE,sha256=cSwNTIzd1cbI89xt3PeZZYJP2y3j8Zus4bXgo4svpX8,1066
18
+ ovld-0.5.11.dist-info/RECORD,,
File without changes