Skip to content

Commit 4cb6ddb

Browse files
hugovkAA-Turner
andauthored
Add boolean to the style guide (#1636)
Co-authored-by: Adam Turner <[email protected]>
1 parent b57b389 commit 4cb6ddb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

documentation/style-guide.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ Specific words
6666
Some terms and words deserve special mention. These conventions should
6767
be used to ensure consistency throughout the documentation:
6868

69+
boolean
70+
Lowercase in most instances.
71+
Uppercase for *Boolean mathematics* and *Boolean logic*.
72+
To refer to the Python or C data type, prefer using the exact,
73+
abbreviated name with appropriate markup (for example, ``:type:`bool```).
74+
6975
C API
7076
Python's `API <https://docs.python.org/3/c-api/>`_ used by C programmers
7177
to write extension modules. All caps and unhyphenated.

0 commit comments

Comments
 (0)