Doc preferred import style in compiler (#19832)
Doc prefered import style in compiler Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
This commit is contained in:
parent
004fc23a3f
commit
497af2c0d9
1 changed files with 1 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ Coding Guidelines
|
||||||
* Use a space after a colon, but not before it.
|
* Use a space after a colon, but not before it.
|
||||||
* [deprecated] Start types with a capital `T`, unless they are
|
* [deprecated] Start types with a capital `T`, unless they are
|
||||||
pointers/references which start with `P`.
|
pointers/references which start with `P`.
|
||||||
|
* Prefer `import package`:nim: over `from package import symbol`:nim:.
|
||||||
|
|
||||||
See also the `API naming design <apis.html>`_ document.
|
See also the `API naming design <apis.html>`_ document.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue