Skip to content

Commit

Permalink
Move class since annotation to after brief
Browse files Browse the repository at this point in the history
Lots of classes do this, but it messes with the python docstrings.

TODO: add a unit test preventing this behavior
  • Loading branch information
nyalldawson committed May 27, 2018
1 parent 1edbca4 commit 3b5ada1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -11,10 +11,10 @@
class QgsNetworkSpeedStrategy : QgsNetworkStrategy
{
%Docstring
Strategy for calculating edge cost based on travel time. Should be
used for finding fastest path between two points.

.. versionadded:: 3.0
Strategy for calculating edge cost based on travel time. Should be
used for finding fastest path between two points.
%End

%TypeHeaderCode
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/network/qgsnetworkspeedstrategy.h
Expand Up @@ -22,9 +22,9 @@
/**
* \ingroup analysis
* \class QgsNetworkSpeedStrategy
* \since QGIS 3.0
* \brief Strategy for calculating edge cost based on travel time. Should be
* used for finding fastest path between two points.
* \since QGIS 3.0
*/
class ANALYSIS_EXPORT QgsNetworkSpeedStrategy : public QgsNetworkStrategy
{
Expand Down

0 comments on commit 3b5ada1

Please sign in to comment.