From e38e892b9bc6d7a684ab251f52bd749700e2c1db Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Tue, 13 Jun 2023 13:50:42 -0700 Subject: [PATCH] Update docs + doctest. --- src/pyutils/files/file_utils.py | 4 ++-- src/pyutils/geocode.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pyutils/files/file_utils.py b/src/pyutils/files/file_utils.py index 45feb34..027279f 100644 --- a/src/pyutils/files/file_utils.py +++ b/src/pyutils/files/file_utils.py @@ -303,8 +303,8 @@ def get_canonical_path(filespec: str) -> str: See also :meth:`get_path`, :meth:`without_path`. - >>> get_canonical_path('/home/scott/../../home/lynn/../scott/foo.txt') - '/usr/home/scott/foo.txt' + >>> get_canonical_path('./../../pyutils/files/file_utils.py') + '/usr/home/scott/lib/release/pyutils/files/file_utils.py' """ return os.path.realpath(filespec) diff --git a/src/pyutils/geocode.py b/src/pyutils/geocode.py index 004900e..fa8956d 100644 --- a/src/pyutils/geocode.py +++ b/src/pyutils/geocode.py @@ -9,9 +9,9 @@ Also try:: - $ curl --form addressFile=@localfile.csv \ - --form benchmark=2020 \ - https://geocoding.geo.census.gov/geocoder/locations/addressbatch \ + $ curl --form addressFile=@localfile.csv \\ + --form benchmark=2020 \\ + https://geocoding.geo.census.gov/geocoder/locations/addressbatch \\ --output geocoderesult.csv """ -- 2.45.0