Skip to content

Commit

Permalink
Fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 21, 2020
1 parent 140425b commit d4e6017
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/expression/qgsexpression.sip.in
Expand Up @@ -27,7 +27,7 @@ Usage:
result = exp.evaluate(feature, fields)
if exp.hasEvalError():
# show error message with evalErrorString()
else
else:
# examine the result

Three Value Logic
Expand Down
4 changes: 1 addition & 3 deletions python/core/auto_generated/raster/qgsrasterlayer.sip.in
Expand Up @@ -28,9 +28,7 @@ Sample usage of the QgsRasterLayer class:

.. code-block:: python

myFileNameQString = "/path/to/file"
myBaseNameQString = "my layer"
myRasterLayer = QgsRasterLayer(myFileNameQString, myBaseNameQString)
my_raster_layer = QgsRasterLayer("/path/to/file.tif", "my layer")
%End

%TypeHeaderCode
Expand Down
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpression.h
Expand Up @@ -58,7 +58,7 @@ The expressions try to follow both syntax and semantics of SQL expressions.
result = exp.evaluate(feature, fields)
if exp.hasEvalError():
# show error message with evalErrorString()
else
else:
# examine the result
\endcode
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.h
Expand Up @@ -108,7 +108,7 @@ typedef void ( *CUSTOM_CRS_VALIDATION )( QgsCoordinateReferenceSystem & ) SIP_SK
* CRS PROJ text: +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 [output trimmed]
* \endcode
*
* \section crs_def_frmats CRS Definition Formats
* \section crs_def_formats CRS Definition Formats
*
* This section gives an overview of various supported CRS definition formats:
*
Expand Down
4 changes: 1 addition & 3 deletions src/core/raster/qgsrasterlayer.h
Expand Up @@ -64,9 +64,7 @@ typedef QList < QPair< QString, QColor > > QgsLegendColorList;
* Sample usage of the QgsRasterLayer class:
*
* \code{.py}
* myFileNameQString = "/path/to/file"
* myBaseNameQString = "my layer"
* myRasterLayer = QgsRasterLayer(myFileNameQString, myBaseNameQString)
* my_raster_layer = QgsRasterLayer("/path/to/file.tif", "my layer")
* \endcode
*/
class CORE_EXPORT QgsRasterLayer : public QgsMapLayer
Expand Down

0 comments on commit d4e6017

Please sign in to comment.