diff --git a/docs/components-stdlib.md b/docs/components-stdlib.md index 4905bf7..c442987 100644 --- a/docs/components-stdlib.md +++ b/docs/components-stdlib.md @@ -273,7 +273,7 @@ and other fields. ## Parse content string into inline, path or URL value based on its format ```python std.contents.parse( -content: str + content: str, # path, URL, or inline content as string ) ``` diff --git a/stdlib/contents/parse.pyro b/stdlib/contents/parse.pyro index 57a4644..e4a3db6 100644 --- a/stdlib/contents/parse.pyro +++ b/stdlib/contents/parse.pyro @@ -10,7 +10,9 @@ returned as URL objects. Everything else will be returned as is. - Remote file: `std.contents.parse("https://example.com/baz.txt")` """ -(content: str) +( + content: str, # path, URL, or inline content as string +) ---