@@ -21,7 +21,7 @@ def check_module(feature):
2121 Checks if a module is available.
2222
2323 :param feature: The module to check for.
24- :returns: True if available, False otherwise.
24+ :returns: `` True`` if available, `` False`` otherwise.
2525 :raises ValueError: If the module is not defined in this version of Pillow.
2626 """
2727 if not (feature in modules ):
@@ -51,7 +51,7 @@ def check_codec(feature):
5151 Checks if a codec is available.
5252
5353 :param feature: The codec to check for.
54- :returns: True if available, False otherwise.
54+ :returns: `` True`` if available, `` False`` otherwise.
5555 :raises ValueError: If the codec is not defined in this version of Pillow.
5656 """
5757 if feature not in codecs :
@@ -85,7 +85,7 @@ def check_feature(feature):
8585 Checks if a feature is available.
8686
8787 :param feature: The feature to check for.
88- :returns: True if available, False if unavailable, None if unknown.
88+ :returns: `` True`` if available, `` False`` if unavailable, `` None`` if unknown.
8989 :raises ValueError: If the feature is not defined in this version of Pillow.
9090 """
9191 if feature not in features :
@@ -111,7 +111,8 @@ def check(feature):
111111 """
112112 :param feature: A module, feature, or codec name.
113113 :returns:
114- True if the module, feature, or codec is available, False or None otherwise.
114+ ``True`` if the module, feature, or codec is available,
115+ ``False`` or ``None`` otherwise.
115116 """
116117
117118 if feature in modules :
@@ -141,9 +142,9 @@ def pilinfo(out=None, supported_formats=True):
141142 This function can be called with ``python -m PIL``.
142143
143144 :param out:
144- The output stream to print to. Defaults to ``sys.stdout`` if None.
145+ The output stream to print to. Defaults to ``sys.stdout`` if `` None`` .
145146 :param supported_formats:
146- If True, a list of all supported image file formats will be printed.
147+ If `` True`` , a list of all supported image file formats will be printed.
147148 """
148149
149150 if out is None :
0 commit comments