From f56b941fc37eb5e3d4bdf728638ab661f14a484f Mon Sep 17 00:00:00 2001 From: Rafale25 <47261384+Rafale25@users.noreply.github.com> Date: Thu, 5 Aug 2021 20:20:35 +0200 Subject: [PATCH] missing parentheses --- src/14 QAbstractTableModel example/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/14 QAbstractTableModel example/README.md b/src/14 QAbstractTableModel example/README.md index 132bd07..753c195 100644 --- a/src/14 QAbstractTableModel example/README.md +++ b/src/14 QAbstractTableModel example/README.md @@ -35,7 +35,7 @@ class TableModel(QAbstractTableModel): return QVariant() # What's the value of the cell at the given index? return rows[index.row()][index.column()] - def headerData(self, section, orientation, role: + def headerData(self, section, orientation, role): if role != Qt.DisplayRole or orientation != Qt.Horizontal: return QVariant() # What's the header for the given column?