We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9091ea commit d77b731Copy full SHA for d77b731
1 file changed
crates/ty_python_semantic/src/types.rs
@@ -6145,8 +6145,9 @@ bitflags! {
6145
impl get_size2::GetSize for TypeQualifiers {}
6146
6147
impl TypeQualifiers {
6148
- /// Get the name of a qualifier. Note that this only works
+ /// Get the name of a type qualifier.
6149
///
6150
+ /// Note that this function can only be called on sets with a single member.
6151
/// Panics if more than a single bit is set.
6152
fn name(self) -> &'static str {
6153
match self {
0 commit comments