mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
20 lines
348 B
Python
20 lines
348 B
Python
import typing
|
|
import typing as Hello
|
|
from typing import Text
|
|
from typing import Text as Goodbye
|
|
|
|
|
|
def print_word(word: Text) -> None:
|
|
print(word)
|
|
|
|
|
|
def print_second_word(word: typing.Text) -> None:
|
|
print(word)
|
|
|
|
|
|
def print_third_word(word: Hello.Text) -> None:
|
|
print(word)
|
|
|
|
|
|
def print_fourth_word(word: Goodbye) -> None:
|
|
print(word)
|