mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
2f3deef8c5
commit
66eee05a37
|
@ -5,7 +5,7 @@ Reference for modules whose documentation has not yet been ported or written
|
||||||
can be found here.
|
can be found here.
|
||||||
|
|
||||||
:mod:`PIL` Module
|
:mod:`PIL` Module
|
||||||
-------------------------
|
-----------------
|
||||||
|
|
||||||
.. py:module:: PIL
|
.. py:module:: PIL
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ WIDTH = 800
|
||||||
|
|
||||||
|
|
||||||
def puti16(fp, values):
|
def puti16(fp, values):
|
||||||
"""write network order (big-endian) 16-bit sequence"""
|
"""Write network order (big-endian) 16-bit sequence"""
|
||||||
for v in values:
|
for v in values:
|
||||||
if v < 0:
|
if v < 0:
|
||||||
v += 65536
|
v += 65536
|
||||||
|
|
Loading…
Reference in New Issue
Block a user