Revision: 119
http://fclient.svn.sourceforge.net/fclient/?rev=119&view=rev
Author: jurner
Date: 2008-02-02 10:28:43 -0800 (Sat, 02 Feb 2008)
Log Message:
-----------
fixed some docstrings for epydoc
Modified Paths:
--------------
trunk/sandbox/fcp/fcp_lib/namespace.py
Modified: trunk/sandbox/fcp/fcp_lib/namespace.py
===================================================================
--- trunk/sandbox/fcp/fcp_lib/namespace.py 2008-02-02 18:27:42 UTC (rev 118)
+++ trunk/sandbox/fcp/fcp_lib/namespace.py 2008-02-02 18:28:43 UTC (rev 119)
@@ -8,7 +8,7 @@
def split_ext(fpath, extensions=1):
"""Splits a filepath into filepath and extension
@param fpath: (str) filepath to split
- @param components: (int) maximum number of extensions to split (can be a negative integer aswell)
+ @param extensions: (int) maximum number of extensions to split (can be a negative integer aswell)
>>> split_ext('foo.txt')
('foo', '.txt')
@@ -76,7 +76,7 @@
#*********************************************************************
def unique_filename(fpath, prefix='', names=None, extensions=1, ispostfixed=False):
"""Creates a filepath with a unique (human readable) postfix
- @param: fpath: filepath to postfix
+ @param fpath: filepath to postfix
@param prefix: prefix to add to the filename or ''
@param names: list of filenames to patch agaunst or None to check files in the directory
of filepath
@@ -169,7 +169,7 @@
def unquote_uri(uri, slash=None):
"""Unquotes an uri so it can be used as a name in the filesystem
@param uri: (str) uri to unquote
- @param slasch: (str) substitution string shlashes to use or None to keep slashes
+ @param slash: (str) substitution string shlashes to use or None to keep slashes
@return: (str) uri
>>> unquote_uri('foo/bar', slash='-')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|