mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Merge pull request #3370 from python-pillow/fix-docstring-typo
Fix docstring typo
This commit is contained in:
commit
da4440c1cb
|
@ -2446,7 +2446,7 @@ def fromarray(obj, mode=None):
|
|||
from PIL import Image
|
||||
import numpy as np
|
||||
im = Image.open('hopper.jpg')
|
||||
a = numpy.asarray(im)
|
||||
a = np.asarray(im)
|
||||
|
||||
Then this can be used to convert it to a Pillow image::
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user