Skip to content

Commit 9d6a276

Browse files
committed
Fix import edit
1 parent 4dd1265 commit 9d6a276

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/selection-parcours-entites.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ Nous souhaitons enregistrer ces informations dans une vraie table avec un nouvea
404404
Solution plus simple :
405405

406406
```python
407-
from qgis.utils import iface, edit
408-
from qgis.core import QgsFeatureRequest, QgsField
407+
from qgis.utils import iface
408+
from qgis.core import QgsFeatureRequest, QgsField, edit
409409

410410
from qgis.PyQt.QtCore import QVariant
411411

@@ -451,8 +451,8 @@ Manipulons désormais la géométrie en ajoutant le centroïde de la commune dan
451451
TODO, en cours de correction, suppression de la variable `petite_communes`
452452

453453
```python
454-
from qgis.utils import iface, edit
455-
from qgis.core import QgsFeatureRequest, QgsField
454+
from qgis.utils import iface
455+
from qgis.core import QgsFeatureRequest, QgsField, edit
456456

457457
layer = iface.activeLayer()
458458

0 commit comments

Comments
 (0)