mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 13:15:06 +00:00
One more
This commit is contained in:
parent
8eca0b9e79
commit
bacbae9680
2 changed files with 2 additions and 1 deletions
|
@ -81,3 +81,4 @@ To learn more, see:
|
|||
|
||||
- [Public type of undeclared symbols](doc/public_type_undeclared_symbols.md)
|
||||
- [Nonlocal types](nonlocal_types.md)
|
||||
- [Boundness and declaredness: public uses](boundness_declaredness/public.md)
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
//! resolving `f` at each of the three numbered positions will give you a `FunctionType`, which
|
||||
//! wraps a `FunctionLiteral`, which contain `OverloadLiteral`s only for the definitions that
|
||||
//! appear before that position. We rely on the fact that later definitions shadow earlier ones, so
|
||||
//! the public type of `f` is resolved at position 3, correctly giving you all of the overloads
|
||||
//! the final type of `f` is resolved at position 3, correctly giving you all of the overloads
|
||||
//! (and the implementation).
|
||||
|
||||
use std::str::FromStr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue