Skip to content
Snippets Groups Projects
Unverified Commit 1174cd3f authored by Yenthe's avatar Yenthe Committed by Martin Trigaux
Browse files

[FIX] doc: Improve english

Some rephrasing to slightly improve the docs.
Closes #11652
parent f40e9ecf
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ Module structure
Directories
-----------
A module is organised in a few directory :
A module is organised in a few directories :
- *data/* : demo and data xml
- *models/* : models definition
......@@ -266,7 +266,7 @@ Inside these 3 groups, the imported lines are alphabetically sorted.
Idioms
------
- Prefer ``%`` over ``.format()``, prefer ``%(varname)`` instead of position (This is better for translation)
- Prefer ``%`` over ``.format()``, prefer ``%(varname)`` instead of position (This is better for translations)
- Try to avoid generators and decorators
- Always favor *Readability* over *conciseness* or using the language features or idioms.
- Use list comprehension, dict comprehension, and basic manipulation using ``map``, ``filter``, ``sum``, ... They make the code easier to read.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment