We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb6b1c commit 4454f8dCopy full SHA for 4454f8d
eval-file-pyqt5-set-value/python/input-number.py
@@ -2,7 +2,7 @@ def get_the_value(locals_):
2
from PyQt5.QtWidgets import QInputDialog
3
num, ok = QInputDialog.getInt(None, 'The number to be set', 'enter a number')
4
if ok:
5
- locals_['set_the_answer'](num)
+ locals['set_the_answer'](num)
6
7
if __name__ == '__main__':
8
from PyQt5.QtWidgets import QApplication
0 commit comments