Skip to content

Commit 4b1b752

Browse files
committed
Fix bad regex
1 parent 71107d1 commit 4b1b752

26 files changed

+51
-51
lines changed

python/core/auto_generated/effects/qgsimageoperation.sip.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Calculates the non-transparent region of an image.
163163
:param image: source image
164164
:param minSize: minimum size for returned region, if desired. If the
165165
non-transparent region of the image is smaller than this minimum size,
166-
it will be centered in the returned rectangle.
166+
it will be centered in the returned rectangle.
167167
:param center: return rectangle will be centered on the center of the original image if set to true
168168

169169
.. versionadded:: 2.9
@@ -178,7 +178,7 @@ Crop any transparent border from around an image.
178178
:param image: source image
179179
:param minSize: minimum size for cropped image, if desired. If the
180180
cropped image is smaller than the minimum size, it will be centered
181-
in the returned image.
181+
in the returned image.
182182
:param center: cropped image will be centered on the center of the original image if set to true
183183

184184
.. versionadded:: 2.9

python/core/auto_generated/geometry/qgsgeometry.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ Merges any connected lines in a LineString/MultiLineString geometry and
12411241
converts them to single line strings.
12421242

12431243
:return: a LineString or MultiLineString geometry, with any connected lines
1244-
joined. An empty geometry will be returned if the input geometry was not a
1244+
joined. An empty geometry will be returned if the input geometry was not a
12451245
MultiLineString geometry.
12461246

12471247
.. versionadded:: 3.0

python/core/auto_generated/geometry/qgspoint.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ M value is preserved.
296296
:param inclination: angle to project in Z (3D). If the point is 2D, the Z value is assumed to be 0.
297297

298298
:return: The point projected. If a 2D point is projected a 3D point will be returned except if
299-
inclination is 90. A 3D point is always returned if a 3D point is projected.
299+
inclination is 90. A 3D point is always returned if a 3D point is projected.
300300
Example:
301301
.. code-block:: python
302302

python/core/auto_generated/geometry/qgstriangle.sip.in

+13-13
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Returns coordinates of a vertex.
115115
Returns the three lengths of the triangle.
116116

117117
:return: Lengths of triangle ABC where [AB] is at 0, [BC] is at 1, [CA] is at 2.
118-
An empty list is returned for empty triangle.
118+
An empty list is returned for empty triangle.
119119
* Example:
120120
.. code-block:: python
121121

@@ -131,7 +131,7 @@ An empty list is returned for empty triangle.
131131
Returns the three angles of the triangle.
132132

133133
:return: Angles in radians of triangle ABC where angle BAC is at 0, angle ABC is at 1, angle BCA is at 2.
134-
An empty list is returned for empty triangle.
134+
An empty list is returned for empty triangle.
135135
* Example:
136136
.. code-block:: python
137137

@@ -249,7 +249,7 @@ Is the triangle scalene (all sides have differen lengths)?
249249
An altitude is a segment (defined by a :py:class:`QgsLineString`) from a vertex to the opposite side (or, if necessary, to the extension of the opposite side).
250250

251251
:return: Three altitudes from this triangle.
252-
An empty list is returned for empty triangle.
252+
An empty list is returned for empty triangle.
253253
* Example:
254254
.. code-block:: python
255255

@@ -265,7 +265,7 @@ An empty list is returned for empty triangle.
265265
A median is a segment (defined by a :py:class:`QgsLineString`) from a vertex to the midpoint of the opposite side.
266266

267267
:return: Three medians from this triangle.
268-
An empty list is returned for empty triangle.
268+
An empty list is returned for empty triangle.
269269
* Example:
270270
.. code-block:: python
271271

@@ -283,7 +283,7 @@ The segment (defined by a :py:class:`QgsLineString`) returned bisect the angle o
283283
:param lengthTolerance: The tolerance to use.
284284

285285
:return: Three angle bisector from this triangle.
286-
An empty list is returned for empty triangle.
286+
An empty list is returned for empty triangle.
287287
* Example:
288288
.. code-block:: python
289289

@@ -299,7 +299,7 @@ An empty list is returned for empty triangle.
299299
Medial (or midpoint) triangle of a triangle ABC is the triangle with vertices at the midpoints of the triangle's sides.
300300

301301
:return: The medial from this triangle.
302-
An empty triangle is returned for empty triangle.
302+
An empty triangle is returned for empty triangle.
303303
* Example:
304304
.. code-block:: python
305305

@@ -317,7 +317,7 @@ An orthocenter is the point of intersection of the altitudes of a triangle.
317317
:param lengthTolerance: The tolerance to use
318318

319319
:return: The orthocenter of the triangle.
320-
An empty point is returned for empty triangle.
320+
An empty point is returned for empty triangle.
321321
* Example:
322322
.. code-block:: python
323323

@@ -333,7 +333,7 @@ An empty point is returned for empty triangle.
333333
Center of the circumscribed circle of the triangle.
334334

335335
:return: The center of the circumscribed circle of the triangle.
336-
An empty point is returned for empty triangle.
336+
An empty point is returned for empty triangle.
337337
* Example:
338338
.. code-block:: python
339339

@@ -349,7 +349,7 @@ An empty point is returned for empty triangle.
349349
Radius of the circumscribed circle of the triangle.
350350

351351
:return: The radius of the circumscribed circle of the triangle.
352-
0.0 is returned for empty triangle.
352+
0.0 is returned for empty triangle.
353353
* Example:
354354
.. code-block:: python
355355

@@ -365,7 +365,7 @@ Radius of the circumscribed circle of the triangle.
365365
Circumscribed circle of the triangle.
366366

367367
:return: The circumbscribed of the triangle with a :py:class:`QgsCircle`.
368-
An empty circle is returned for empty triangle.
368+
An empty circle is returned for empty triangle.
369369
Example:
370370
.. code-block:: python
371371

@@ -382,7 +382,7 @@ Center of the inscribed circle of the triangle. Z dimension is
382382
supported and is retrieved from the first 3D point amongst vertices.
383383

384384
:return: The center of the inscribed circle of the triangle.
385-
An empty point is returned for empty triangle.
385+
An empty point is returned for empty triangle.
386386
* Example:
387387
.. code-block:: python
388388

@@ -398,7 +398,7 @@ An empty point is returned for empty triangle.
398398
Radius of the inscribed circle of the triangle.
399399

400400
:return: The radius of the inscribed circle of the triangle.
401-
0.0 is returned for empty triangle.
401+
0.0 is returned for empty triangle.
402402
* Example:
403403
.. code-block:: python
404404

@@ -414,7 +414,7 @@ Radius of the inscribed circle of the triangle.
414414
Inscribed circle of the triangle.
415415

416416
:return: The inscribed of the triangle with a :py:class:`QgsCircle`.
417-
An empty circle is returned for empty triangle.
417+
An empty circle is returned for empty triangle.
418418
Example:
419419
.. code-block:: python
420420

python/core/auto_generated/geometry/qgswkbtypes.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Returns the inherent dimension of the geometry type as an integer. Returned valu
173173
always be less than or equal to the coordinate dimension.
174174

175175
:return: 0 for point geometries, 1 for line geometries, 2 for polygon geometries
176-
Invalid geometry types will return a dimension of 0.
176+
Invalid geometry types will return a dimension of 0.
177177

178178
.. seealso:: :py:func:`coordDimensions`
179179
%End

python/core/auto_generated/layout/qgslayouttable.sip.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ height.
580580
:param firstRow: index of first row visible in frame (where 0 = first row in table)
581581
:param includeHeader: set to true if frame would include a header row
582582
:param includeEmptyRows: set to true to also include rows which would be empty in the returned count. For instance,
583-
if the frame would include all table content rows and have space left for extra rows then setting this parameter
583+
if the frame would include all table content rows and have space left for extra rows then setting this parameter
584584
to true would also include a count of these extra blank rows.
585585

586586
:return: number of visible content rows (excluding header row)
@@ -593,7 +593,7 @@ Calculates how many content rows are visible within a given frame.
593593
:param frameIndex: index number for frame
594594
:param firstRow: index of first row visible in frame (where 0 = first row in table)
595595
:param includeEmptyRows: set to true to also include rows which would be empty in the returned count. For instance,
596-
if the frame would include all table content rows and have space left for extra rows then setting this parameter
596+
if the frame would include all table content rows and have space left for extra rows then setting this parameter
597597
to true would also include a count of these extra blank rows.
598598

599599
:return: number of visible content rows (excludes header rows)

python/core/auto_generated/mesh/qgsmeshlayer.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ interprets the supplied path (url) of the data source to connect to and access t
9292
data.
9393

9494
:param path: The path or url of the parameter. Typically this encodes
95-
parameters used by the data provider as url query items.
95+
parameters used by the data provider as url query items.
9696
:param baseName: The name used to represent the layer in the legend
9797
:param providerLib: The name of the data provider, e.g., "mesh_memory", "mdal"
9898
:param options: general mesh layer options

python/core/auto_generated/processing/qgsprocessingalgorithm.sip.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ should raise GeoAlgorithmExecutionException for the same purpose.
526526

527527
:return: A map of algorithm outputs. These may be output layer references, or calculated
528528
values such as statistical calculations. Unless the algorithm subclass overrides
529-
the postProcessAlgorithm() step this returned map will be used as the output for the
529+
the postProcessAlgorithm() step this returned map will be used as the output for the
530530
algorithm.
531531

532532
.. seealso:: :py:func:`prepareAlgorithm`
@@ -556,8 +556,8 @@ postProcessAlgorithm will not be called if the prepareAlgorithm() step failed (r
556556
or if an exception was raised by the processAlgorithm() step.
557557

558558
:return: A map of algorithm outputs. These may be output layer references, or calculated
559-
values such as statistical calculations. Implementations which return a non-empty
560-
map will override any results returned by processAlgorithm().
559+
values such as statistical calculations. Implementations which return a non-empty
560+
map will override any results returned by processAlgorithm().
561561

562562
.. seealso:: :py:func:`prepareAlgorithm`
563563

python/core/auto_generated/qgsaggregatecalculator.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Calculates the value of an aggregate.
125125

126126
:param aggregate: aggregate to calculate
127127
:param fieldOrExpression: source field or expression to use as basis for aggregated values.
128-
If an expression is used, then the context parameter must be set.
128+
If an expression is used, then the context parameter must be set.
129129
:param context: expression context for evaluating expressions
130130
:param ok: if specified, will be set to true if aggregate calculation was successful
131131

python/core/auto_generated/qgscacheindex.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ and set the iterator to a valid iterator over the cached features. If it is not
5757
it will return false.
5858

5959
:param featureIterator: A reference to a :py:class:`QgsFeatureIterator`. A valid featureIterator will
60-
be assigned in case this index is able to answer the request and the return
60+
be assigned in case this index is able to answer the request and the return
6161
value is true.
6262
:param featureRequest: The feature request, for which this index is queried.
6363

python/core/auto_generated/qgscolorscheme.sip.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ Gets a list of colors from the scheme. The colors can optionally
8080
be generated using the supplied context and base color.
8181

8282
:param context: string specifying an optional context for the returned
83-
colors. For instance, a "recent colors" scheme may filter returned colors
84-
by context so that colors used only in a "composer" context are returned.
83+
colors. For instance, a "recent colors" scheme may filter returned colors
84+
by context so that colors used only in a "composer" context are returned.
8585
:param baseColor: base color for the scheme's colors. Some color schemes
86-
may take advantage of this to filter or modify their returned colors
86+
may take advantage of this to filter or modify their returned colors
8787
to colors related to the base color.
8888

8989
:return: a list of QPairs of color and color name

python/core/auto_generated/qgsdistancearea.sip.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Measures the area of a geometry.
142142
:param geometry: geometry to measure
143143

144144
:return: area of geometry. For geometry collections, non surface geometries will be ignored. The units for the
145-
returned area can be retrieved by calling areaUnits().
145+
returned area can be retrieved by calling areaUnits().
146146

147147
.. versionadded:: 2.12
148148

@@ -160,7 +160,7 @@ Measures the length of a geometry.
160160
:param geometry: geometry to measure
161161

162162
:return: length of geometry. For geometry collections, non curve geometries will be ignored. The units for the
163-
returned distance can be retrieved by calling lengthUnits().
163+
returned distance can be retrieved by calling lengthUnits().
164164

165165
.. versionadded:: 2.12
166166

@@ -178,7 +178,7 @@ Measures the perimeter of a polygon geometry.
178178
:param geometry: geometry to measure
179179

180180
:return: perimeter of geometry. For geometry collections, any non-polygon geometries will be ignored. The units for the
181-
returned perimeter can be retrieved by calling lengthUnits().
181+
returned perimeter can be retrieved by calling lengthUnits().
182182

183183
.. versionadded:: 2.12
184184

python/core/auto_generated/qgsfield.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Constructor. Constructs a new QgsField object.
4646
:param type: Field variant type, currently supported: String / Int / Double
4747
:param typeName: Field type (e.g., char, varchar, text, int, serial, double).
4848
Field types are usually unique to the source and are stored exactly
49-
as returned from the data store.
49+
as returned from the data store.
5050
:param len: Field length
5151
:param prec: Field precision. Usually decimal places but may also be
5252
used in conjunction with other fields types (e.g., variable character fields)

python/core/auto_generated/qgsfontutils.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Returns a CSS string representing the specified font as closely as possible.
212212

213213
:param font: QFont to convert
214214
:param pointToPixelMultiplier: scaling factor to apply to convert point sizes to pixel font sizes.
215-
The CSS returned by this function will always use pixels for font sizes, so this parameter
215+
The CSS returned by this function will always use pixels for font sizes, so this parameter
216216
should be set to a suitable value to convert point sizes to pixels (e.g., taking into account
217217
destination DPI)
218218

python/core/auto_generated/qgsmaplayerstore.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The layersAdded() and layerWasAdded() signals will always be emitted.
9999

100100
:return: a list of the map layers that were added
101101
successfully. If a layer is invalid, or already exists in the store,
102-
it will not be part of the returned list.
102+
it will not be part of the returned list.
103103

104104

105105
.. seealso:: :py:func:`addMapLayer`

python/core/auto_generated/qgsmultirenderchecker.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Test using renderer to generate the image to be compared.
105105

106106
:param mismatchCount: - defaults to 0 - the number of pixels that
107107
are allowed to be different from the control image. In some cases
108-
rendering may be non-deterministic. This parameter allows you to account
108+
rendering may be non-deterministic. This parameter allows you to account
109109
for that by providing a tolerance.
110110

111111
.. note::

python/core/auto_generated/qgsproject.sip.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -733,14 +733,14 @@ The legendLayersAdded() signal is emitted only if addToLegend is true.
733733
:param mapLayers: A list of layer which should be added to the registry
734734
:param addToLegend: If true (by default), the layers will be added to the
735735
legend and to the main canvas. If you have a private
736-
layer you can set this parameter to false to hide it.
736+
layer you can set this parameter to false to hide it.
737737
:param takeOwnership: Ownership will be transferred to the layer registry.
738738
If you specify false here you have take care of deleting
739739
the layers yourself. Not available in Python.
740740

741741
:return: a list of the map layers that were added
742742
successfully. If a layer is invalid, or already exists in the registry,
743-
it will not be part of the returned QList.
743+
it will not be part of the returned QList.
744744

745745

746746
.. note::
@@ -771,7 +771,7 @@ addMapLayers() instead.
771771
:param mapLayer: A layer to add to the registry
772772
:param addToLegend: If true (by default), the layer will be added to the
773773
legend and to the main canvas. If you have a private
774-
layer you can set this parameter to false to hide it.
774+
layer you can set this parameter to false to hide it.
775775
:param takeOwnership: Ownership will be transferred to the layer registry.
776776
If you specify false here you have take care of deleting
777777
the layer yourself. Not available in Python.

python/core/auto_generated/qgsproviderregistry.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Gets pointer to provider function
113113
:param functionName: name of function
114114

115115
:return: pointer to function or NULL on error. If the provider uses direct provider
116-
function pointers instead of a library None will be returned.
116+
function pointers instead of a library None will be returned.
117117
%End
118118

119119
QLibrary *createProviderLibrary( const QString &providerKey ) const /Factory/;

python/core/auto_generated/qgsrenderchecker.sip.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Test using renderer to generate the image to be compared.
103103
e.g. /tmp/theTestName.png
104104
:param mismatchCount: - defaults to 0 - the number of pixels that
105105
are allowed to be different from the control image. In some cases
106-
rendering may be non-deterministic. This parameter allows you to account
106+
rendering may be non-deterministic. This parameter allows you to account
107107
for that by providing a tolerance.
108108

109109
.. note::
@@ -119,7 +119,7 @@ Test using two arbitrary images (map renderer will not be used)
119119
e.g. /tmp/theTestName.png
120120
:param mismatchCount: - defaults to 0 - the number of pixels that
121121
are allowed to be different from the control image. In some cases
122-
rendering may be non-deterministic. This parameter allows you to account
122+
rendering may be non-deterministic. This parameter allows you to account
123123
for that by providing a tolerance.
124124
:param renderedImageFile: to optionally override the output filename
125125
\note: make sure to call setExpectedImage and setRenderedImage first.

python/core/auto_generated/qgsvectordataprovider.sip.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ capability implement an optimised version of this method.
298298
:param attr_map: a map containing changed attributes
299299
:param geometry_map: A QgsGeometryMap whose index contains the feature IDs
300300
that will have their geometries changed.
301-
The second map parameter being the new geometries themselves
301+
The second map parameter being the new geometries themselves
302302

303303
:return: true in case of success and false in case of failure
304304
%End
@@ -355,7 +355,7 @@ Changes geometries of existing features
355355

356356
:param geometry_map: A QgsGeometryMap whose index contains the feature IDs
357357
that will have their geometries changed.
358-
The second map parameter being the new geometries themselves
358+
The second map parameter being the new geometries themselves
359359

360360
:return: True in case of success and false in case of failure
361361
%End

python/core/auto_generated/qgsvectorlayer.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ interprets the supplied path (url) of the data source to connect to and access t
339339
data.
340340

341341
:param path: The path or url of the parameter. Typically this encodes
342-
parameters used by the data provider as url query items.
342+
parameters used by the data provider as url query items.
343343
:param baseName: The name used to represent the layer in the legend
344344
:param providerLib: The name of the data provider, e.g., "memory", "postgres"
345345
:param options: layer load options

python/core/auto_generated/raster/qgsrasterdataprovider.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Returns a new image downloader for the raster legend.
206206
contextual legends.
207207

208208
:return: a download handler or null if the provider does not support
209-
legend at all. Ownership of the returned object is transferred
209+
legend at all. Ownership of the returned object is transferred
210210
to caller.
211211

212212

0 commit comments

Comments
 (0)