Skip to content

Commit 637135b

Browse files
authored
Update docs/source/kinds_of_types.rst
1 parent 3061456 commit 637135b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/kinds_of_types.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ A value with the ``Any`` type is dynamically typed. Mypy doesn't know
3939
anything about the possible runtime types of such value. Any
4040
operations are permitted on the value, and the operations are only checked
4141
at runtime. You can use ``Any`` as an "escape hatch" when you can't use
42-
a more precise type for some reason. This should not be confused with the
42+
a more precise type for some reason.
43+
44+
This should not be confused with the
4345
:py:class:`object` type, which also represents any value, but in a type-safe
4446
way; it's almost always preferable to use ``object`` instead of ``Any``, if
4547
you can do so without great difficulty — see :ref:`any-vs-object` for more.

0 commit comments

Comments
 (0)