Revert "Convert docstrings to reStructuredText"
This reverts commit 3b1bd242d0.
This commit is contained in:
@@ -22,19 +22,17 @@ import re
|
||||
|
||||
|
||||
class PathFilter(object):
|
||||
"""I filter path components for safe storage on file systems.
|
||||
|
||||
:ivar slashes: whether to convert slashes to dashes.
|
||||
:vartype slashes:
|
||||
:ivar quotes: whether to normalize quotes.
|
||||
:vartype quotes:
|
||||
:ivar fat: whether to strip characters illegal on FAT filesystems.
|
||||
:vartype fat:
|
||||
:ivar special: whether to strip special characters.
|
||||
:vartype special:
|
||||
"""
|
||||
I filter path components for safe storage on file systems.
|
||||
"""
|
||||
|
||||
def __init__(self, slashes=True, quotes=True, fat=True, special=False):
|
||||
"""
|
||||
@param slashes: whether to convert slashes to dashes
|
||||
@param quotes: whether to normalize quotes
|
||||
@param fat: whether to strip characters illegal on FAT filesystems
|
||||
@param special: whether to strip special characters
|
||||
"""
|
||||
self._slashes = slashes
|
||||
self._quotes = quotes
|
||||
self._fat = fat
|
||||
|
||||
Reference in New Issue
Block a user