From 4db8c165ca2cb898e4fa9a11fe4f7ab1d9f14d2c Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Sat, 23 Oct 2021 11:56:35 +0200 Subject: [PATCH] Clarify `wireviz.parse()` input types --- src/wireviz/wireviz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wireviz/wireviz.py b/src/wireviz/wireviz.py index 4dd9b09..12314f1 100755 --- a/src/wireviz/wireviz.py +++ b/src/wireviz/wireviz.py @@ -34,7 +34,7 @@ def parse( and outputs the result as one or more files and/or as a function return value Accepted inputs: - * A path to a YAML source file to parse + * A Path object or a path-like string pointing to a YAML source file to parse * A string containing the YAML data to parse * A Python Dict containing the pre-parsed YAML data