Skip to content

Commit

Permalink
fix obsolete name in resolve_qualified_name docs (#10762)
Browse files Browse the repository at this point in the history
`resolve_call_path` was renamed to `resolve_qualified_name` in
a6d892b, but the doc block for the
function wasn't updated to match.
  • Loading branch information
carljm committed Apr 3, 2024
1 parent 257964a commit e0a8fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_python_semantic/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ impl<'a> SemanticModel<'a> {
/// print(python_version)
/// ```
///
/// ...then `resolve_call_path(${python_version})` will resolve to `sys.version_info`.
/// ...then `resolve_qualified_name(${python_version})` will resolve to `sys.version_info`.
pub fn resolve_qualified_name<'name, 'expr: 'name>(
&self,
value: &'expr Expr,
Expand Down

0 comments on commit e0a8fb6

Please sign in to comment.