@@ -229,7 +229,7 @@ impl<'db> ClassType<'db> {
229229 ///
230230 /// If the MRO could not be accurately resolved, this method falls back to iterating
231231 /// over an MRO that has the class directly inheriting from `Unknown`. Use
232- /// [`Class ::try_mro`] if you need to distinguish between the success and failure
232+ /// [`ClassLiteralType ::try_mro`] if you need to distinguish between the success and failure
233233 /// cases rather than simply iterating over the inferred resolution order for the class.
234234 ///
235235 /// [method resolution order]: https://docs.python.org/3/glossary.html#term-method-resolution-order
@@ -281,7 +281,7 @@ impl<'db> ClassType<'db> {
281281 /// or those marked as ClassVars are considered.
282282 ///
283283 /// Returns [`Symbol::Unbound`] if `name` cannot be found in this class's scope
284- /// directly. Use [`Class ::class_member`] if you require a method that will
284+ /// directly. Use [`ClassType ::class_member`] if you require a method that will
285285 /// traverse through the MRO until it finds the member.
286286 pub ( super ) fn own_class_member ( self , db : & ' db dyn Db , name : & str ) -> SymbolAndQualifiers < ' db > {
287287 let ( class_literal, _) = self . class_literal ( db) ;
@@ -499,7 +499,7 @@ impl<'db> ClassLiteralType<'db> {
499499 ///
500500 /// If the MRO could not be accurately resolved, this method falls back to iterating
501501 /// over an MRO that has the class directly inheriting from `Unknown`. Use
502- /// [`Class ::try_mro`] if you need to distinguish between the success and failure
502+ /// [`ClassLiteralType ::try_mro`] if you need to distinguish between the success and failure
503503 /// cases rather than simply iterating over the inferred resolution order for the class.
504504 ///
505505 /// [method resolution order]: https://docs.python.org/3/glossary.html#term-method-resolution-order
@@ -744,7 +744,7 @@ impl<'db> ClassLiteralType<'db> {
744744 /// or those marked as ClassVars are considered.
745745 ///
746746 /// Returns [`Symbol::Unbound`] if `name` cannot be found in this class's scope
747- /// directly. Use [`Class ::class_member`] if you require a method that will
747+ /// directly. Use [`ClassLiteralType ::class_member`] if you require a method that will
748748 /// traverse through the MRO until it finds the member.
749749 pub ( super ) fn own_class_member ( self , db : & ' db dyn Db , name : & str ) -> SymbolAndQualifiers < ' db > {
750750 let body_scope = self . body_scope ( db) ;
0 commit comments