Skip to content

Commit e53c819

Browse files
authored
Use the same doc for replace_originals as in CLI
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 197268b commit e53c819

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extractcode/extract.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ def extract(location, kinds=extractcode.default_kinds, recurse=False, replace_or
116116
archives If `recurse` is false, then do not extract further an already
117117
extracted archive identified by the corresponding extract suffix location.
118118
119-
If `replace_originals` is True, the archives will be extracted in place.
119+
If `replace_originals` is True, the extracted archives are replaced by the
120+
extracted content.
120121
121122
Note that while the original file system is walked top-down, breadth-first,
122123
if recurse and a nested archive is found, it is extracted to full depth

0 commit comments

Comments
 (0)