@@ -598,7 +598,7 @@ def readbytes(self, path):
598598
599599 def download (self , path , file , chunk_size = None , ** options ):
600600 # type: (Text, BinaryIO, Optional[int], **Any) -> None
601- """Copies a file from the filesystem to a file-like object.
601+ """Copy a file from the filesystem to a file-like object.
602602
603603 This may be more efficient that opening and copying files
604604 manually if the filesystem supplies an optimized method.
@@ -741,7 +741,7 @@ def getsyspath(self, path):
741741 # type: (Text) -> Text
742742 """Get the *system path* of a resource.
743743
744- Parameters :
744+ Arguments :
745745 path (str): A path on the filesystem.
746746
747747 Returns:
@@ -777,10 +777,9 @@ def getsyspath(self, path):
777777
778778 def getospath (self , path ):
779779 # type: (Text) -> bytes
780- """Get a *system path* to a resource, encoded in the operating
781- system's prefered encoding.
780+ """Get the *system path* to a resource, in the OS' prefered encoding.
782781
783- Parameters :
782+ Arguments :
784783 path (str): A path on the filesystem.
785784
786785 Returns:
@@ -809,7 +808,7 @@ def gettype(self, path):
809808 # type: (Text) -> ResourceType
810809 """Get the type of a resource.
811810
812- Parameters :
811+ Arguments :
813812 path (str): A path on the filesystem.
814813
815814 Returns:
@@ -847,7 +846,7 @@ def geturl(self, path, purpose="download"):
847846 # type: (Text, Text) -> Text
848847 """Get the URL to a given resource.
849848
850- Parameters :
849+ Arguments :
851850 path (str): A path on the filesystem
852851 purpose (str): A short string that indicates which URL
853852 to retrieve for the given path (if there is more than
@@ -868,7 +867,7 @@ def hassyspath(self, path):
868867 # type: (Text) -> bool
869868 """Check if a path maps to a system path.
870869
871- Parameters :
870+ Arguments :
872871 path (str): A path on the filesystem.
873872
874873 Returns:
@@ -886,7 +885,7 @@ def hasurl(self, path, purpose="download"):
886885 # type: (Text, Text) -> bool
887886 """Check if a path has a corresponding URL.
888887
889- Parameters :
888+ Arguments :
890889 path (str): A path on the filesystem.
891890 purpose (str): A purpose parameter, as given in
892891 `~fs.base.FS.geturl`.
@@ -911,7 +910,7 @@ def isdir(self, path):
911910 # type: (Text) -> bool
912911 """Check if a path maps to an existing directory.
913912
914- Parameters :
913+ Arguments :
915914 path (str): A path on the filesystem.
916915
917916 Returns:
@@ -930,7 +929,7 @@ def isempty(self, path):
930929 A directory is considered empty when it does not contain
931930 any file or any directory.
932931
933- Parameters :
932+ Arguments :
934933 path (str): A path to a directory on the filesystem.
935934
936935 Returns:
@@ -947,7 +946,7 @@ def isfile(self, path):
947946 # type: (Text) -> bool
948947 """Check if a path maps to an existing file.
949948
950- Parameters :
949+ Arguments :
951950 path (str): A path on the filesystem.
952951
953952 Returns:
@@ -963,7 +962,7 @@ def islink(self, path):
963962 # type: (Text) -> bool
964963 """Check if a path maps to a symlink.
965964
966- Parameters :
965+ Arguments :
967966 path (str): A path on the filesystem.
968967
969968 Returns:
@@ -1009,7 +1008,7 @@ def movedir(self, src_path, dst_path, create=False):
10091008 # type: (Text, Text, bool) -> None
10101009 """Move directory ``src_path`` to ``dst_path``.
10111010
1012- Parameters :
1011+ Arguments :
10131012 src_path (str): Path of source directory on the filesystem.
10141013 dst_path (str): Path to destination directory.
10151014 create (bool): If `True`, then ``dst_path`` will be created
@@ -1443,8 +1442,7 @@ def touch(self, path):
14431442
14441443 def validatepath (self , path ):
14451444 # type: (Text) -> Text
1446- """Check if a path is valid, returning a normalized absolute
1447- path.
1445+ """Validate a path, returning a normalized absolute path on sucess.
14481446
14491447 Many filesystems have restrictions on the format of paths they
14501448 support. This method will check that ``path`` is valid on the
0 commit comments