@@ -229,7 +229,7 @@ impl<'db> ClassType<'db> {
229
229
///
230
230
/// If the MRO could not be accurately resolved, this method falls back to iterating
231
231
/// 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
233
233
/// cases rather than simply iterating over the inferred resolution order for the class.
234
234
///
235
235
/// [method resolution order]: https://docs.python.org/3/glossary.html#term-method-resolution-order
@@ -281,7 +281,7 @@ impl<'db> ClassType<'db> {
281
281
/// or those marked as ClassVars are considered.
282
282
///
283
283
/// 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
285
285
/// traverse through the MRO until it finds the member.
286
286
pub ( super ) fn own_class_member ( self , db : & ' db dyn Db , name : & str ) -> SymbolAndQualifiers < ' db > {
287
287
let ( class_literal, _) = self . class_literal ( db) ;
@@ -499,7 +499,7 @@ impl<'db> ClassLiteralType<'db> {
499
499
///
500
500
/// If the MRO could not be accurately resolved, this method falls back to iterating
501
501
/// 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
503
503
/// cases rather than simply iterating over the inferred resolution order for the class.
504
504
///
505
505
/// [method resolution order]: https://docs.python.org/3/glossary.html#term-method-resolution-order
@@ -744,7 +744,7 @@ impl<'db> ClassLiteralType<'db> {
744
744
/// or those marked as ClassVars are considered.
745
745
///
746
746
/// 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
748
748
/// traverse through the MRO until it finds the member.
749
749
pub ( super ) fn own_class_member ( self , db : & ' db dyn Db , name : & str ) -> SymbolAndQualifiers < ' db > {
750
750
let body_scope = self . body_scope ( db) ;
0 commit comments