replbase 0.0.26__tar.gz → 0.0.27__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.26 → replbase-0.0.27}/PKG-INFO +1 -1
- {replbase-0.0.26 → replbase-0.0.27}/pyproject.toml +1 -1
- {replbase-0.0.26 → replbase-0.0.27}/replbase/repl_base.py +5 -1
- {replbase-0.0.26 → replbase-0.0.27}/LICENSE +0 -0
- {replbase-0.0.26 → replbase-0.0.27}/README.md +0 -0
- {replbase-0.0.26 → replbase-0.0.27}/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.27"
|
|
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"
|
|
@@ -484,7 +484,11 @@ class ReplBase:
|
|
|
484
484
|
"""Starts an interactive session from within the class"""
|
|
485
485
|
if kwargs:
|
|
486
486
|
globals().update(kwargs)
|
|
487
|
-
embed(
|
|
487
|
+
embed(
|
|
488
|
+
globals(),
|
|
489
|
+
locals(),
|
|
490
|
+
history_filename=os.path.expanduser(f"~/.{self.title}_history"),
|
|
491
|
+
)
|
|
488
492
|
|
|
489
493
|
def show_help(self) -> None:
|
|
490
494
|
"""Print out the provided help text"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|