Skip to content

Commit 7474450

Browse files
committed
Add event to run PYTHONSTARTUP
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent cecd6f7 commit 7474450

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bpython/curtsiesfrontend/events.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ def __init__(self, when, who='?'):
3434
def __repr__(self):
3535
return ("<RefreshRequestEvent from %r for %s seconds from now>" %
3636
(self.who, self.when - time.time()))
37+
38+
class RunStartupFileEvent(curtsies.events.Event):
39+
"""Reqeust to run the startup file."""

0 commit comments

Comments
 (0)