Skip to content

Commit

Permalink
Add code formatting to ImageCms.Flags docstrings
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
nulano and hugovk authored Jan 6, 2024
1 parent 81ea98e commit d9ec2fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/ImageCms.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Flags(IntFlag):
USE_8BITS_DEVICELINK = 0x0008
"""Create 8 bits devicelinks"""
GUESSDEVICECLASS = 0x0020
"""Guess device class (for transform2devicelink)"""
"""Guess device class (for ``transform2devicelink``)"""
KEEP_SEQUENCE = 0x0080
"""Keep profile sequence for devicelink creation"""
FORCE_CLUT = 0x0002
Expand All @@ -159,7 +159,7 @@ class Flags(IntFlag):
NONEGATIVES = 0x8000
"""Prevent negative numbers in floating point transforms"""
COPY_ALPHA = 0x04000000
"""Alpha channels are copied on cmsDoTransform()"""
"""Alpha channels are copied on ``cmsDoTransform()``"""
NODEFAULTRESOURCEDEF = 0x01000000

_GRIDPOINTS_1 = 1 << 16
Expand Down

0 comments on commit d9ec2fd

Please sign in to comment.