# code --list-extensions
aaron-bond.better-comments
arcticicestudio.nord-visual-studio-code
CoenraadS.bracket-pair-colorizer
dbaeumer.vscode-eslint
esbenp.prettier-vscode
felixfbecker.php-debug
felixfbecker.php-intellisense
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'd | |
'll | |
'm | |
're | |
's | |
't | |
've | |
i | |
a | |
a's |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ab | |
aber | |
abermaliges | |
abermals | |
abgerufen | |
abgerufene | |
abgerufener | |
abgerufenes | |
abgesehen | |
acht |
TypeVar
is a generic type variable that allows you to create a placeholder for a type. It is typically used when you want to define a generic function or class that can operate on different types without specifying them explicitly. It allows you to introduce a type variable that can be used as a type annotation for function arguments, return values, or class attributes.
Here's an example of how TypeVar can be used:
from typing import List, TypeVar
T = TypeVar('T')
def reverse_list(items: List[T]) -> List[T]: