pythonlib 2.0.1 → 2.0.2

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.
@@ -459,6 +459,9 @@ function ascii(x) {
459
459
  return result;
460
460
  }
461
461
  function isinstance(obj, classInfo) {
462
+ if (Array.isArray(classInfo)) {
463
+ return classInfo.some((cls) => isinstance(obj, cls));
464
+ }
462
465
  if (classInfo === Number || classInfo === "int" || classInfo === "float") {
463
466
  return typeof obj === "number";
464
467
  }
@@ -60,7 +60,7 @@ import {
60
60
  tuple,
61
61
  type,
62
62
  zip
63
- } from "./chunk-5OKGPZBQ.js";
63
+ } from "./chunk-DJNTUOA7.js";
64
64
  import {
65
65
  subprocess_exports
66
66
  } from "./chunk-THMJVAK6.js";
package/dist/index.js CHANGED
@@ -63,7 +63,7 @@ import {
63
63
  tuple,
64
64
  type,
65
65
  zip
66
- } from "./chunk-5OKGPZBQ.js";
66
+ } from "./chunk-DJNTUOA7.js";
67
67
  import {
68
68
  subprocess_exports
69
69
  } from "./chunk-THMJVAK6.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pythonlib",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Python standard library for TypeScript - itertools, functools, collections, datetime, re, and more. Zero dependencies. Full TypeScript support.",
5
5
  "homepage": "https://sebastian-software.github.io/python2ts/",
6
6
  "repository": {