We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3061456 commit 637135bCopy full SHA for 637135b
docs/source/kinds_of_types.rst
@@ -39,7 +39,9 @@ A value with the ``Any`` type is dynamically typed. Mypy doesn't know
39
anything about the possible runtime types of such value. Any
40
operations are permitted on the value, and the operations are only checked
41
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
+a more precise type for some reason.
43
+
44
+This should not be confused with the
45
:py:class:`object` type, which also represents any value, but in a type-safe
46
way; it's almost always preferable to use ``object`` instead of ``Any``, if
47
you can do so without great difficulty — see :ref:`any-vs-object` for more.
0 commit comments