From bdfd345034c087dab89ceb1ec4feaab118ac54a8 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Tue, 19 Dec 2017 20:44:34 -0400 Subject: [PATCH] fix code descriptor --- python/core/qgscoordinatereferencesystem.sip | 2 +- src/core/qgscoordinatereferencesystem.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/core/qgscoordinatereferencesystem.sip b/python/core/qgscoordinatereferencesystem.sip index f7fc13bba1ca..b39a3735fb45 100644 --- a/python/core/qgscoordinatereferencesystem.sip +++ b/python/core/qgscoordinatereferencesystem.sip @@ -55,7 +55,7 @@ For example, the following code will create and inspect "British national grid" This will produce the following output: -.. code-block:: python +.. code-block:: CRS Description: OSGB 1936 / British National Grid CRS PROJ.4 text: +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 [output trimmed] diff --git a/src/core/qgscoordinatereferencesystem.h b/src/core/qgscoordinatereferencesystem.h index fa13bf92d369..8d4ade7b7b2d 100644 --- a/src/core/qgscoordinatereferencesystem.h +++ b/src/core/qgscoordinatereferencesystem.h @@ -90,7 +90,7 @@ typedef void ( *CUSTOM_CRS_VALIDATION )( QgsCoordinateReferenceSystem & ) SIP_SK * * This will produce the following output: * - * \code{.py} + * \code * CRS Description: OSGB 1936 / British National Grid * CRS PROJ.4 text: +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 [output trimmed] * \endcode