micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Python 3.10+ functionality test for {} format string
|
||||
|
||||
def test(fmt, *args):
|
||||
print('{:8s}'.format(fmt) + '>' + fmt.format(*args) + '<')
|
||||
|
||||
test("{:0s}", "ab")
|
||||
test("{:06s}", "ab")
|
||||
test("{:<06s}", "ab")
|
||||
test("{:>06s}", "ab")
|
Reference in New Issue
Block a user