@@ -73,6 +73,8 @@ def compile(**kwargs):
73
73
:type include_paths: :class:`collections.Sequence`, :class:`str`
74
74
:param image_path: an optional path to find images
75
75
:type image_path: :class:`str`
76
+ :param precision: optional precision for numbers. :const:`5` by default.
77
+ :type precision: :class:`int`
76
78
:returns: the compiled CSS string
77
79
:rtype: :class:`str`
78
80
:raises sass.CompileError: when it fails for any reason
@@ -102,6 +104,8 @@ def compile(**kwargs):
102
104
:type include_paths: :class:`collections.Sequence`, :class:`str`
103
105
:param image_path: an optional path to find images
104
106
:type image_path: :class:`str`
107
+ :param precision: optional precision for numbers. :const:`5` by default.
108
+ :type precision: :class:`int`
105
109
:returns: the compiled CSS string, or a pair of the compiled CSS string
106
110
and the source map string if ``source_comments='map'``
107
111
:rtype: :class:`str`, :class:`tuple`
@@ -134,6 +138,8 @@ def compile(**kwargs):
134
138
:type include_paths: :class:`collections.Sequence`, :class:`str`
135
139
:param image_path: an optional path to find images
136
140
:type image_path: :class:`str`
141
+ :param precision: optional precision for numbers. :const:`5` by default.
142
+ :type precision: :class:`int`
137
143
:raises sass.CompileError: when it fails for any reason
138
144
(for example the given SASS has broken syntax)
139
145
0 commit comments