-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow keyword arguments for all arguments in PyQGIS bindings
Previously this was only enabled for optional arguments (i.e. those with default values). Enabling them for all arguments allows for more readable PyQGIS code, and there seems no downside given that we already have this support partly enabled. The consequence of this change is that when 3.0 API is frozen the freeze must also include the naming of function arguments, since that's effectively now part of public API.
- Loading branch information
1 parent
69af2f5
commit 2b7b0db
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
%Module(name=qgis._core, | ||
keyword_arguments="Optional") | ||
keyword_arguments="All") | ||
|
||
%ModuleCode | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
%Module(name=qgis._gui, | ||
keyword_arguments="Optional") | ||
keyword_arguments="All") | ||
|
||
%Feature HAVE_QSCI_SIP | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
%Module(name=qgis._server, | ||
keyword_arguments="Optional") | ||
keyword_arguments="All") | ||
|
||
|
||
%Import QtCore/QtCoremod.sip | ||
|