replbase 0.0.32__tar.gz → 0.0.33__tar.gz
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.
- {replbase-0.0.32 → replbase-0.0.33}/PKG-INFO +1 -1
- {replbase-0.0.32 → replbase-0.0.33}/pyproject.toml +1 -1
- {replbase-0.0.32 → replbase-0.0.33}/replbase/repl_base.py +1 -1
- {replbase-0.0.32 → replbase-0.0.33}/LICENSE +0 -0
- {replbase-0.0.32 → replbase-0.0.33}/README.md +0 -0
- {replbase-0.0.32 → replbase-0.0.33}/replbase/__init__.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "replbase"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.33"
|
|
8
8
|
description = "\"Combination of other REPL tools into a reusable class that generates a REPL\""
|
|
9
9
|
authors = [ "Joseph Bochinski <stirgejr@gmail.com>",]
|
|
10
10
|
license = "MIT"
|
|
@@ -459,7 +459,7 @@ class ReplBase:
|
|
|
459
459
|
if arg_type != str:
|
|
460
460
|
cmd_init["type"] = arg_type
|
|
461
461
|
|
|
462
|
-
if isinstance(def_val, arg_type):
|
|
462
|
+
if isinstance(arg_type, type) and isinstance(def_val, arg_type):
|
|
463
463
|
cmd_init["default"] = def_val
|
|
464
464
|
|
|
465
465
|
if isinstance(arg_type, list):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|