Skip to content

Commit c6a369f

Browse files
committed
Image
1 parent 2d0f9c6 commit c6a369f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2621,7 +2621,7 @@ from PIL import Image
26212621
<tuple/int> = <Image>.getpixel((x, y)) # Returns a pixel.
26222622
<Image>.putpixel((x, y), <tuple/int>) # Writes a pixel to image.
26232623
<ImagingCore> = <Image>.getdata() # Returns a sequence of pixels.
2624-
<Image>.putdata(<list/tuple/ImagingCore>) # Writes a sequence of pixels.
2624+
<Image>.putdata(<list/ImagingCore>) # Writes a sequence of pixels.
26252625
<Image>.paste(<Image>, (x, y)) # Writes an image to image.
26262626
```
26272627

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@
22342234
<pre><code class="python language-python hljs">&lt;tuple/int&gt; = &lt;Image&gt;.getpixel((x, y)) <span class="hljs-comment"># Returns a pixel.</span>
22352235
&lt;Image&gt;.putpixel((x, y), &lt;tuple/int&gt;) <span class="hljs-comment"># Writes a pixel to image.</span>
22362236
&lt;ImagingCore&gt; = &lt;Image&gt;.getdata() <span class="hljs-comment"># Returns a sequence of pixels.</span>
2237-
&lt;Image&gt;.putdata(&lt;list/tuple/ImagingCore&gt;) <span class="hljs-comment"># Writes a sequence of pixels.</span>
2237+
&lt;Image&gt;.putdata(&lt;list/ImagingCore&gt;) <span class="hljs-comment"># Writes a sequence of pixels.</span>
22382238
&lt;Image&gt;.paste(&lt;Image&gt;, (x, y)) <span class="hljs-comment"># Writes an image to image.</span>
22392239
</code></pre>
22402240
<div><h3 id="modes-1">Modes</h3><ul>

0 commit comments

Comments
 (0)