From 7cde9994b381dfa8ae73ea25fced297e3f9f0afe Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Tue, 25 Jan 2022 02:39:22 -0500 Subject: Fix typo in extract_node() link (#1369) --- doc/inference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/inference.rst b/doc/inference.rst index 008e65e4..8d2c7e43 100644 --- a/doc/inference.rst +++ b/doc/inference.rst @@ -66,7 +66,7 @@ Most of the time you can access the same fields as those represented in the output of :meth:`repr_tree` so you can do ``tree.body[0].value.left`` to get the left hand side operand of the addition operation. -Another useful function that you can use is :func`astroid.extract_node`, +Another useful function that you can use is :func:`astroid.extract_node`, which given a string, tries to extract one or more nodes from the given string:: >>> node = astroid.extract_node(''' -- cgit v1.2.1