Skip to content

Commit ccc6923

Browse files
authored
DOC: Fix style guide typos (#31822)
1 parent 04e9a78 commit ccc6923

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/source/development/code_style.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ For example:
119119
.. code-block:: python
120120
121121
value = str
122-
f"Unknown recived value, got: {repr(value)}"
122+
f"Unknown received value, got: {repr(value)}"
123123
124124
**Good:**
125125

126126
.. code-block:: python
127127
128128
value = str
129-
f"Unknown recived type, got: '{type(value).__name__}'"
129+
f"Unknown received type, got: '{type(value).__name__}'"
130130
131131
132132
Imports (aim for absolute)
@@ -135,11 +135,11 @@ Imports (aim for absolute)
135135
In Python 3, absolute imports are recommended. In absolute import doing something
136136
like ``import string`` will import the string module rather than ``string.py``
137137
in the same directory. As much as possible, you should try to write out
138-
absolute imports that show the whole import chain from toplevel pandas.
138+
absolute imports that show the whole import chain from top-level pandas.
139139

140-
Explicit relative imports are also supported in Python 3. But it is not
141-
recommended to use it. Implicit relative imports should never be used
142-
and is removed in Python 3.
140+
Explicit relative imports are also supported in Python 3 but it is not
141+
recommended to use them. Implicit relative imports should never be used
142+
and are removed in Python 3.
143143

144144
For example:
145145

0 commit comments

Comments
 (0)