Skip to content

Commit e0a8fb6

Browse files
authored
fix obsolete name in resolve_qualified_name docs (#10762)
`resolve_call_path` was renamed to `resolve_qualified_name` in a6d892b, but the doc block for the function wasn't updated to match.
1 parent 257964a commit e0a8fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_python_semantic/src/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ impl<'a> SemanticModel<'a> {
680680
/// print(python_version)
681681
/// ```
682682
///
683-
/// ...then `resolve_call_path(${python_version})` will resolve to `sys.version_info`.
683+
/// ...then `resolve_qualified_name(${python_version})` will resolve to `sys.version_info`.
684684
pub fn resolve_qualified_name<'name, 'expr: 'name>(
685685
&self,
686686
value: &'expr Expr,

0 commit comments

Comments
 (0)