You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/python_minifier/__init__.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,8 @@ def minify(
86
86
:param str source: The python module source code
87
87
:param str filename: The original source filename if known
88
88
89
-
:param remove_annotations: Configures the removal of type annotations. True removes all annotations, False removes none. RemoveAnnotationsOptions can be used to configure the removal of specific annotations.
89
+
:param remove_annotations: Configures the removal of type annotations. True removes all annotations, False removes none.
90
+
RemoveAnnotationsOptions can be used to configure the removal of specific annotations.
90
91
:type remove_annotations: bool or RemoveAnnotationsOptions
91
92
:param bool remove_pass: If Pass statements should be removed where possible
92
93
:param bool remove_literal_statements: If statements consisting of a single literal should be removed, including docstrings
0 commit comments