Skip to content

Commit 64be73c

Browse files
committed
Post-merge clarity
1 parent ff35b8d commit 64be73c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

myNotebook.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,18 @@ def paste(self) -> None:
104104
class Entry(EntryMenu):
105105
"""Custom ttk.Entry class to fix some display issues."""
106106

107+
# DEPRECATED: Migrate to EntryMenu. Will remove in 6.0 or later.
107108
def __init__(self, master: ttk.Frame | None = None, **kw):
109+
warnings.warn('Migrate to EntryMenu. Will remove in 6.0 or later.', DeprecationWarning, stacklevel=2)
108110
EntryMenu.__init__(self, master, **kw)
109-
warnings.warn('Migrate to EntryMenu. Will be removed in 6.0 or later', DeprecationWarning, stacklevel=2)
110111

111112

112113
class Button(ttk.Button):
113114
"""Custom ttk.Button class to fix some display issues."""
114115

115116
def __init__(self, master: ttk.Frame | None = None, **kw):
117+
warnings.warn('Migrate to ttk.Button. Will remove in 6.0 or later', DeprecationWarning, stacklevel=2)
116118
ttk.Button.__init__(self, master, **kw)
117-
warnings.warn('Migrate to ttk.Button. Will be removed in 6.0 or later', DeprecationWarning, stacklevel=2)
118119

119120

120121
class ColoredButton(tk.Button):

requirements.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ requests==2.32.3
22
pillow==10.3.0
33
watchdog==4.0.1
44
simplesystray==0.1.0; sys_platform == 'win32'
5+
semantic-version==2.10.0
6+
# For manipulating folder permissions and the like.
57
pywin32==306; sys_platform == 'win32'
8+
psutil==5.9.8
69
winrt-Microsoft.UI==2.1.0; sys_platform == 'win32'
710
winrt-Microsoft.UI.Interop==2.1.0; sys_platform == 'win32'
811
winrt-Microsoft.UI.Windowing==2.1.0; sys_platform == 'win32'
912
winrt-Microsoft.Windows.ApplicationModel.DynamicDependency.Bootstrap==2.1.0.post1; sys_platform == 'win32'
10-
semantic-version==2.10.0
11-
# For manipulating folder permissions and the like.
12-
pywin32==306; sys_platform == 'win32'
13-
psutil==5.9.8

0 commit comments

Comments
 (0)