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 fded1cc commit f0769aeCopy full SHA for f0769ae
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