mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
all: Fix spelling mistakes based on codespell check.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# test PEP 526, varible annotations
|
||||
# test PEP 526, variable annotations
|
||||
|
||||
x: int
|
||||
print("x" in globals())
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# to test arbitrariy precision integers
|
||||
# to test arbitrary precision integers
|
||||
|
||||
x = 1000000000000000000000000000000
|
||||
xn = -1000000000000000000000000000000
|
||||
|
||||
@@ -57,7 +57,7 @@ try:
|
||||
except:
|
||||
print("Unknown type")
|
||||
|
||||
# Initially repitition counters were supported only for strings,
|
||||
# Initially repetition counters were supported only for strings,
|
||||
# but later were implemented for all.
|
||||
print(struct.unpack("<3B2h", b"foo\x12\x34\xff\xff"))
|
||||
print(struct.pack("<3B", 1, 2, 3))
|
||||
|
||||
@@ -30,7 +30,7 @@ def f():
|
||||
return (i, j)
|
||||
print(f())
|
||||
|
||||
# multiple for loops within nested withs
|
||||
# multiple for loops within nested with's
|
||||
def f():
|
||||
with CtxMgr(1):
|
||||
for i in [1, 2]:
|
||||
@@ -41,7 +41,7 @@ def f():
|
||||
return (i, j, k, l)
|
||||
print(f())
|
||||
|
||||
# multiple for loops that are optimised, and nested withs
|
||||
# multiple for loops that are optimised, and nested with's
|
||||
def f():
|
||||
with CtxMgr(1):
|
||||
for i in range(1, 3):
|
||||
|
||||
Reference in New Issue
Block a user