Skip to content

Commit

Permalink
Merge pull request #496 from juhannc/master
Browse files Browse the repository at this point in the history
Restore Python <3.9 compatibility
  • Loading branch information
jooste committed Feb 5, 2024
2 parents 3d767f4 + a4d69d7 commit 210c7e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bluesky/stack/cmdparser.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
''' Stack Command implementation. '''
import inspect
import sys, os
from typing import Dict
from bluesky.stack.argparser import Parameter, getnextarg, ArgumentError


class Command:
''' Stack command object. '''

# Dictionary with all command objects
cmddict: dict[str, 'Command'] = dict()
cmddict: Dict[str, 'Command'] = dict()

@classmethod
def addcommand(cls, func, parent=None, name='', **kwargs):
Expand Down

0 comments on commit 210c7e5

Please sign in to comment.