micropython/tests/unicode/unicode_str_format.py

5 wiersze
100 B
Python
Czysty Wina Historia

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# test handling of unicode chars in format strings
print("α".format())
print("{α}".format(α=1))