Skip to content

Commit a5ba37d

Browse files
Update calculator2.py
Exclude the "from tkinter import constants", forgot already have.
1 parent ebb9572 commit a5ba37d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

calculator/calculator2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Inspirado no programa 'clac1.py' do livro "Python and Tkinter Programming" de John E.Grayson
22
from tkinter import *
3-
if 'constants' not in __import__('tkinter').__all__:
4-
from tkinter import constants
53

64
def frame(root, side):
75
w = Frame(master=root)

0 commit comments

Comments
 (0)