Skip to content

Commit ba7974b

Browse files
authored
Document: fix doc of get_n_pages() to keep correct with libvips document (#567)
* Update vimage.py * Update vimage.py * Update vimage.py
1 parent bcb3e1a commit ba7974b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyvips/vimage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,8 +1673,8 @@ def atan2(self, other):
16731673
def get_n_pages(self):
16741674
"""Get the number of pages in an image file, or 1.
16751675
1676-
This is the number of pages in the file the image was loaded from, not
1677-
the number of pages in the image.
1676+
This is the number of pages in the image file, not the number of pages
1677+
that have been loaded into image.
16781678
16791679
To get the number of pages in an image, divide the image height by
16801680
the page height.

0 commit comments

Comments
 (0)