Skip to content
Permalink
Browse files

Move class since annotation to after brief

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 24, 2018
1 parent 1edbca4 commit 3b5ada15f7a6edb52b6e3451bfea74f435e15227
@@ -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
@@ -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
{

0 comments on commit 3b5ada1

Please sign in to comment.
You can’t perform that action at this time.