Path 1: 45 calls (0.62)

Name (39) Module (3) Attribute (3)

'' (45)

1def _msg_postponed_eval_hint(self, node: nodes.NodeNG) -> str:
2        """Message hint if postponed evaluation isn't enabled."""
3        if self._py310_plus or "annotations" in node.root().future_imports:
4            return ""
5        return ". Add 'from __future__ import annotations' as well"
            

Path 2: 28 calls (0.38)

Module (18) Name (9) Attribute (1)

". Add 'from __future__ import annotations' as well" (28)

1def _msg_postponed_eval_hint(self, node: nodes.NodeNG) -> str:
2        """Message hint if postponed evaluation isn't enabled."""
3        if self._py310_plus or "annotations" in node.root().future_imports:
4            return ""
5        return ". Add 'from __future__ import annotations' as well"