Skip to content

Commit a0f46e0

Browse files
committed
Merge branch 'master' into altendky-patch-1
2 parents 824e09e + 5ddd8cc commit a0f46e0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7-
## 5.15.1.0 [unreleased]
7+
## 5.15.2.0 [unreleased]
88

99
### Added
1010
* [#125](https://github.com/stlehmann/PyQt5-stubs/pull/125) on `QtWidgets.QMessageBox`, enumerators are also attributes of their enumerations
@@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1717
* [#51](https://github.com/stlehmann/PyQt5-stubs/pull/51) adds `pyqtBoundSignal.signal` hinted as `str`
1818

1919
### Changed
20+
* [#126](https://github.com/stlehmann/PyQt5-stubs/pull/126) fix `QCoreApplication.instance()` return type to be optional
2021
* [#102](https://github.com/stlehmann/PyQt5-stubs/pull/102) fix `pyqtSlot` parameter typing and overloads
2122
* [#104](https://github.com/stlehmann/PyQt5-stubs/pull/104) `sip.voidptr` handles integer values and sequences and takes `self`
2223
* [#103](https://github.com/stlehmann/PyQt5-stubs/pull/103) `pyqtBoundSignal.disconnect()`'s `slot` parameter is optional

PyQt5-stubs/QtCore.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,7 @@ class QCoreApplication(QObject):
30203020
@staticmethod
30213021
def exec_() -> int: ...
30223022
@staticmethod
3023-
def instance() -> 'QCoreApplication': ...
3023+
def instance() -> typing.Optional['QCoreApplication']: ...
30243024
@staticmethod
30253025
def arguments() -> typing.List[str]: ...
30263026
@staticmethod

0 commit comments

Comments
 (0)