Skip to content

Commit

Permalink
Add missing blank line to allow parameters display in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Dec 30, 2022
1 parent f1f7b7a commit 0dffc59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/additions/metaenum.py
Expand Up @@ -25,6 +25,7 @@ def metaEnumFromValue(enumValue, baseClass=None, raiseException=True):
"""
Returns the QMetaEnum for an enum value.
The enum must have declared using the Q_ENUM macro
: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 raiseException: if False, no exception will be raised and None will be return in case of failure
Expand All @@ -37,6 +38,7 @@ def metaEnumFromType(enumClass, baseClass=None, raiseException=True):
"""
Returns the QMetaEnum for an enum type.
The enum must have declared using the Q_ENUM macro
: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 raiseException: if False, no exception will be raised and None will be return in case of failure
Expand Down

0 comments on commit 0dffc59

Please sign in to comment.