diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-02-05 21:44:14 +0100 |
---|---|---|
committer | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-02-05 21:54:08 +0100 |
commit | eb711d20a4ed5f9e8ff8e7ad797d27adc43d8ccd (patch) | |
tree | 114c87635ec1c898b862271faaea2ac52441f63d /doc | |
parent | bcaecce5634a30313e574deae101ee017ffeff17 (diff) | |
download | astroid-git-eb711d20a4ed5f9e8ff8e7ad797d27adc43d8ccd.tar.gz |
Create ``UninferableBase``
Diffstat (limited to 'doc')
-rw-r--r-- | doc/inference.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/inference.rst b/doc/inference.rst index 8d2c7e43..d66ea5ea 100644 --- a/doc/inference.rst +++ b/doc/inference.rst @@ -22,10 +22,10 @@ In both cases the :meth:`infer` must return a *generator* which iterates through the various *values* the node could take. In some case the value yielded will not be a node found in the AST of the node -but an instance of a special inference class such as :class:`Uninferable`, +but an instance of a special inference class such as :obj:`Uninferable`, or :class:`Instance`. -Namely, the special singleton :obj:`Uninferable()` is yielded when the inference reaches +Namely, the special singleton :obj:`Uninferable` is yielded when the inference reaches a point where it can't follow the code and is so unable to guess a value; and instances of the :class:`Instance` class are yielded when the current node is inferred to be an instance of some known class. |