File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
16
16
* [ #51 ] ( https://github.com/stlehmann/PyQt5-stubs/pull/51 ) adds ` pyqtBoundSignal.signal ` hinted as ` str `
17
17
18
18
### Changed
19
+ * [ #126 ] ( https://github.com/stlehmann/PyQt5-stubs/pull/126 ) fix ` QCoreApplication.instance() ` return type to be optional
19
20
* [ #102 ] ( https://github.com/stlehmann/PyQt5-stubs/pull/102 ) fix ` pyqtSlot ` parameter typing and overloads
20
21
* [ #104 ] ( https://github.com/stlehmann/PyQt5-stubs/pull/104 ) ` sip.voidptr ` handles integer values and sequences and takes ` self `
21
22
* [ #103 ] ( https://github.com/stlehmann/PyQt5-stubs/pull/103 ) ` pyqtBoundSignal.disconnect() ` 's ` slot ` parameter is optional
Original file line number Diff line number Diff line change @@ -3020,7 +3020,7 @@ class QCoreApplication(QObject):
3020
3020
@staticmethod
3021
3021
def exec_ () -> int : ...
3022
3022
@staticmethod
3023
- def instance () -> 'QCoreApplication' : ...
3023
+ def instance () -> typing . Optional [ 'QCoreApplication' ] : ...
3024
3024
@staticmethod
3025
3025
def arguments () -> typing .List [str ]: ...
3026
3026
@staticmethod
You can’t perform that action at this time.
0 commit comments