Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af69105

Browse files
Another braces removal
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent c179c2d commit af69105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/widgets/annotated_cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def onmove(self, event):
156156
# Check if the display of text is still necessary.
157157
# If not, just return.
158158
# This behaviour is also cloned from the base class.
159-
if (not self.get_active()) or (not self.visible):
159+
if not self.get_active() or not self.visible:
160160
return
161161

162162
# Draw the widget, if event coordinates are valid

0 commit comments

Comments
 (0)