Skip to content

Commit d9ec2fd

Browse files
nulanohugovk
andauthored
Add code formatting to ImageCms.Flags docstrings
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 81ea98e commit d9ec2fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/PIL/ImageCms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class Flags(IntFlag):
147147
USE_8BITS_DEVICELINK = 0x0008
148148
"""Create 8 bits devicelinks"""
149149
GUESSDEVICECLASS = 0x0020
150-
"""Guess device class (for transform2devicelink)"""
150+
"""Guess device class (for ``transform2devicelink``)"""
151151
KEEP_SEQUENCE = 0x0080
152152
"""Keep profile sequence for devicelink creation"""
153153
FORCE_CLUT = 0x0002
@@ -159,7 +159,7 @@ class Flags(IntFlag):
159159
NONEGATIVES = 0x8000
160160
"""Prevent negative numbers in floating point transforms"""
161161
COPY_ALPHA = 0x04000000
162-
"""Alpha channels are copied on cmsDoTransform()"""
162+
"""Alpha channels are copied on ``cmsDoTransform()``"""
163163
NODEFAULTRESOURCEDEF = 0x01000000
164164

165165
_GRIDPOINTS_1 = 1 << 16

0 commit comments

Comments
 (0)