Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhozic committed Feb 3, 2024
1 parent 5b59ff0 commit d25600b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
9 changes: 5 additions & 4 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,18 @@ Glossary
Releases
---------------------

v1.4.8
v1.4.8 / v1.4.9
=====================
- Fixed :class:`tkclasswiz.convert.convert_objects_to_script` function:

- not being able to convert global enums (or enum flags)
- duplicated import strings
- not being able to convert global enums (or enum flags).
- duplicated import strings.

- Fixed flags not definable as flags when editing list-like objects.
- Fixed tooltip style not adjusting when using ttkbootstrap.
E. g., in dark mode only the text was updated, but background was still the same.
- Fixed the Python3.10+ Union type (``A | B``) not being detected as an union type.
- Fixed UnionType import error.


v1.4.7
Expand Down
2 changes: 1 addition & 1 deletion tkclasswiz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
SOFTWARE.
"""

__version__ = "1.4.8"
__version__ = "1.4.9"


from .object_frame import *
Expand Down
5 changes: 4 additions & 1 deletion tkclasswiz/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
from inspect import isclass, isabstract
from itertools import product, chain
from contextlib import suppress
from types import UnionType
try:
from types import UnionType
except ImportError:
UnionType = Union

from .utilities import issubclass_noexcept
from .doc import doc_category
Expand Down

0 comments on commit d25600b

Please sign in to comment.