Use dot references in docs for methods (#7391)

## Summary

This matches the convention used in the Python documentation.
This commit is contained in:
Charlie Marsh 2023-09-14 14:35:34 -04:00 committed by GitHub
parent 21539f1663
commit 6856d0b44b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 18 deletions

View file

@ -545,7 +545,7 @@ impl<'a> SemanticModel<'a> {
///
/// For example, given `["Class", "method"`], resolve the `BindingKind::ClassDefinition`
/// associated with `Class`, then the `BindingKind::FunctionDefinition` associated with
/// `Class#method`.
/// `Class.method`.
pub fn lookup_attribute(&'a self, value: &'a Expr) -> Option<BindingId> {
let call_path = collect_call_path(value)?;