Skip to content

Commit

Permalink
Fix from review
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Aug 29, 2024
1 parent 3adca0d commit df079e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class LanguageDefinitionComponents:

@property
def is_builtin(self) -> bool:
return type(self.url) is BuiltInLanguageDefinitionURL
return isinstance(self.url, BuiltInLanguageDefinitionURL)

def __str__(self) -> str:
return f"{self.alias}={self.url}"

0 comments on commit df079e4

Please sign in to comment.