mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
Add missing blank line to allow parameters display in docs
This commit is contained in:
parent
f1f7b7ab12
commit
0dffc593e2
@ -25,6 +25,7 @@ def metaEnumFromValue(enumValue, baseClass=None, raiseException=True):
|
|||||||
"""
|
"""
|
||||||
Returns the QMetaEnum for an enum value.
|
Returns the QMetaEnum for an enum value.
|
||||||
The enum must have declared using the Q_ENUM macro
|
The enum must have declared using the Q_ENUM macro
|
||||||
|
|
||||||
:param enumValue: the enum value
|
:param enumValue: the enum value
|
||||||
:param baseClass: the enum base class. If not given, it will try to get it by using `enumValue.__class__.baseClass`
|
:param baseClass: the enum base class. If not given, it will try to get it by using `enumValue.__class__.baseClass`
|
||||||
:param raiseException: if False, no exception will be raised and None will be return in case of failure
|
:param raiseException: if False, no exception will be raised and None will be return in case of failure
|
||||||
@ -37,6 +38,7 @@ def metaEnumFromType(enumClass, baseClass=None, raiseException=True):
|
|||||||
"""
|
"""
|
||||||
Returns the QMetaEnum for an enum type.
|
Returns the QMetaEnum for an enum type.
|
||||||
The enum must have declared using the Q_ENUM macro
|
The enum must have declared using the Q_ENUM macro
|
||||||
|
|
||||||
:param enumClass: the enum class
|
:param enumClass: the enum class
|
||||||
:param baseClass: the enum base class. If not given, it will try to get it by using `enumValue.__class__.baseClass`
|
:param baseClass: the enum base class. If not given, it will try to get it by using `enumValue.__class__.baseClass`
|
||||||
:param raiseException: if False, no exception will be raised and None will be return in case of failure
|
:param raiseException: if False, no exception will be raised and None will be return in case of failure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user