8000 DOC: Remove python v2 class ``unicode`` · mattip/numpy@c5b5d7a · GitHub
[go: up one dir, main page]

Skip to content

Commit c5b5d7a

Browse files
committed
DOC: Remove python v2 class unicode
1 parent d23a1ee commit c5b5d7a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/source/user/basics.types.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,7 @@ exceptions, such as when code requires very specific attributes of a scalar
290290
or when it checks specifically whether a value is a Python scalar. Generally,
291291
problems are easily fixed by explicitly converting array scalars
292292
to Python scalars, using the corresponding Python type function
293-
(e.g., :class:`int`, :class:`float`, :class:`complex`, :class:`str`,
294-
``unicode`` (v2.x)).
293+
(e.g., :class:`int`, :class:`float`, :class:`complex`, :class:`str`).
295294

296295
The primary advantage of using array scalars is that
297296
they preserve the array type (Python may not have a matching scalar type

0 commit comments

Comments
 (0)
0