Skip to content

Commit 5383956

Browse files
authored
bpo-38830: Correct slot signature in Qt example. (GH-17220)
1 parent 59c8088 commit 5383956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/logging-cookbook.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2949,7 +2949,7 @@ refer to the comments in the code snippet for more detailed information.
29492949
# The functions below update the UI and run in the main thread because
29502950
# that's where the slots are set up
29512951
2952-
@Slot(str)
2952+
@Slot(str, logging.LogRecord)
29532953
def update_status(self, status, record):
29542954
color = self.COLORS.get(record.levelno, 'black')
29552955
s = '<pre><font color="%s">%s</font></pre>' % (color, status)

0 commit comments

Comments
 (0)