summaryrefslogtreecommitdiff
path: root/astroid/inference_tip.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/inference_tip.py')
-rw-r--r--astroid/inference_tip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/inference_tip.py b/astroid/inference_tip.py
index dc43aa8e..9eeb9e2b 100644
--- a/astroid/inference_tip.py
+++ b/astroid/inference_tip.py
@@ -30,7 +30,7 @@ def _inference_tip_cached(func, instance, args, kwargs, _cache={}): # noqa:B006
def inference_tip(infer_function, raise_on_overwrite=False):
"""Given an instance specific inference function, return a function to be
- given to MANAGER.register_transform to set this inference function.
+ given to AstroidManager().register_transform to set this inference function.
:param bool raise_on_overwrite: Raise an `InferenceOverwriteError`
if the inference tip will overwrite another. Used for debugging
@@ -39,7 +39,7 @@ def inference_tip(infer_function, raise_on_overwrite=False):
.. sourcecode:: python
- MANAGER.register_transform(Call, inference_tip(infer_named_tuple),
+ AstroidManager().register_transform(Call, inference_tip(infer_named_tuple),
predicate)
.. Note::