Skip to content

Commit 16b5663

Browse files
[doc] Fix typo in RGBA list example
Replace "Alph" with "Alpha" in the list aliasing example to keep the RGBA example consistent.
1 parent 97ff57f commit 16b5663

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/tutorial/introduction.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,9 @@ through all other variables that refer to it.::
436436
>>> rgba = rgb
437437
>>> id(rgb) == id(rgba) # they reference the same object
438438
True
439-
>>> rgba.append("Alph")
439+
>>> rgba.append("Alpha")
440440
>>> rgb
441-
["Red", "Green", "Blue", "Alph"]
441+
["Red", "Green", "Blue", "Alpha"]
442442

443443
All slice operations return a new list containing the requested elements. This
444444
means that the following slice returns a

0 commit comments

Comments
 (0)