Skip to content

[ty] Improve docs for Class{Literal,Type}::instance_member#18454

Merged
sharkdp merged 1 commit intomainfrom
david/improve-instance_member-docs
Jun 4, 2025
Merged

[ty] Improve docs for Class{Literal,Type}::instance_member#18454
sharkdp merged 1 commit intomainfrom
david/improve-instance_member-docs

Conversation

@sharkdp
Copy link
Contributor

@sharkdp sharkdp commented Jun 4, 2025

Summary

Mostly just refer to Type::instance_member which has much more details.

@sharkdp sharkdp added the documentation Improvements or additions to documentation label Jun 4, 2025
@sharkdp sharkdp added the ty Multi-file analysis & type inference label Jun 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2025

mypy_primer results

No ecosystem changes detected ✅

@sharkdp sharkdp merged commit 9f8c3de into main Jun 4, 2025
34 checks passed
@sharkdp sharkdp deleted the david/improve-instance_member-docs branch June 4, 2025 07:55
carljm added a commit to mtshiba/ruff that referenced this pull request Jun 4, 2025
* main:
  [ty] Only consider a type `T` a subtype of a protocol `P` if all of `P`'s members are fully bound on `T` (astral-sh#18466)
  [ty] Exclude members starting with `_abc_` from a protocol interface (astral-sh#18467)
  [ty] Add subdiagnostic suggestion to `unresolved-reference` diagnostic when variable exists on `self` (astral-sh#18444)
  [ty] IDE: only provide declarations and bindings as completions (astral-sh#18456)
  [ty] ty_ide: Hotfix for `expression_scope_id` panics (astral-sh#18455)
  [ty] Improve docs for Class{Literal,Type}::instance_member (astral-sh#18454)
  [ty] Add meta-type tests for legavy TypeVars (astral-sh#18453)
  update to salsa that doesn't panic silently on cycles (astral-sh#18450)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant