Skip to content

Commit

Permalink
Partially revert commit 69a4f96
Browse files Browse the repository at this point in the history
Symbols from the *accessibility* sub-package may now be imported from
*dragonfly* as before.
  • Loading branch information
drmfinlay committed Sep 4, 2022
1 parent bbd3ff3 commit fdd16f7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dragonfly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,12 @@
from .language import (Integer, IntegerRef, ShortIntegerRef,
Digits, DigitsRef,
Number, NumberRef)

#---------------------------------------------------------------------------
# Note: The *accessibility* sub-package is optional.
try:
from .accessibility import (CursorPosition, TextQuery,
get_accessibility_controller,
get_stopping_accessibility_controller)
except ImportError:
pass

0 comments on commit fdd16f7

Please sign in to comment.