typing.FrozenSet
E911259
typing.FrozenSet is a type hint in Python’s typing module that represents an immutable set of elements, typically all of the same specified type.
All labels observed (1)
| Label | Occurrences |
|---|---|
| typing.FrozenSet canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T11216046 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: typing.FrozenSet Context triple: [PEP 484, defines, typing.FrozenSet]
-
A.
Frostenson
Frostenson is a Swedish surname most prominently associated with poet and former Swedish Academy member Katarina Frostenson.
-
B.
Frost
Frost is the middle name of George F. Kennan, the influential American diplomat and historian known for shaping the U.S. Cold War containment strategy.
-
C.
Frost
Frost is a common English surname borne by numerous notable individuals, including the American poet Robert Frost.
-
D.
Freeze
"Freeze" is a track from the Jonas Brothers' third studio album "Lines, Vines and Trying Times."
-
E.
Freeze
Freeze was a landmark 1988 London art exhibition organized by Damien Hirst that launched the Young British Artists movement into public prominence.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: typing.FrozenSet Target entity description: typing.FrozenSet is a type hint in Python’s typing module that represents an immutable set of elements, typically all of the same specified type.
-
A.
Frostenson
Frostenson is a Swedish surname most prominently associated with poet and former Swedish Academy member Katarina Frostenson.
-
B.
Frost
Frost is the middle name of George F. Kennan, the influential American diplomat and historian known for shaping the U.S. Cold War containment strategy.
-
C.
Frost
Frost is a common English surname borne by numerous notable individuals, including the American poet Robert Frost.
-
D.
Freeze
"Freeze" is a track from the Jonas Brothers' third studio album "Lines, Vines and Trying Times."
-
E.
Freeze
Freeze was a landmark 1988 London art exhibition organized by Damien Hirst that launched the Young British Artists movement into public prominence.
- F. None of above. chosen
Statements (41)
| Predicate | Object |
|---|---|
| instanceOf |
Python typing construct
ⓘ
typing type hint ⓘ |
| aliasOf | collections.abc.Set in typing semantics ⓘ |
| canBeNested | True ⓘ |
| cannotExpress | heterogeneous element types precisely ⓘ |
| category |
collection type hint
ⓘ
generic alias ⓘ |
| collectionKind | set-like ⓘ |
| compatibleWith | frozenset instances at runtime ⓘ |
| definedInModule | typing ⓘ |
| elementAccessPattern | membership testing only (no item assignment) ⓘ |
| elementTypeConstraint | all elements share the same annotated type ⓘ |
| exampleUsage |
def f(xs: FrozenSet[int]) -> None: ...
ⓘ
from typing import FrozenSet ⓘ |
| introducedInVersion | Python 3.5 NERFINISHED ⓘ |
| isDeprecatedInFavorOf | types.FrozenSetType in some newer typing patterns (depending on Python version) ⓘ |
| isGeneric | True ⓘ |
| isHashableCollection | True ⓘ |
| isImmutableCollection | True ⓘ |
| isSubscriptable | True ⓘ |
| moduleQualifiedName | typing.FrozenSet ⓘ |
| mutability | immutable ⓘ |
| parameterizedBy | type variable T ⓘ |
| pepReference | PEP 484 NERFINISHED ⓘ |
| programmingLanguage | Python ⓘ |
| relatedTo |
builtins.frozenset
ⓘ
typing.AbstractSet ⓘ typing.Set ⓘ |
| represents |
collections.abc.Set subtype
ⓘ
immutable set type ⓘ |
| runtimeRepresentation | builtins.frozenset ⓘ |
| supportsOperations | set algebra operations (union, intersection, difference) at runtime via frozenset ⓘ |
| supportsVariance | covariant in its type parameter in many type checkers GENERATED ⓘ |
| syntaxExample |
FrozenSet[Tuple[int, str]]
ⓘ
FrozenSet[int] ⓘ FrozenSet[str] ⓘ |
| typeCheckerBehavior | treats FrozenSet[T] as frozenset[T] at runtime ⓘ |
| usedFor | static type checking of frozenset contents ⓘ |
| worksWith |
PyCharm type checker
ⓘ
mypy NERFINISHED ⓘ pyright ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: typing.FrozenSet Description of subject: typing.FrozenSet is a type hint in Python’s typing module that represents an immutable set of elements, typically all of the same specified type.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.