documentation

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2159 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-01-19 00:40:06 +00:00
parent 44790a257a
commit 46de8b6ca0
2 changed files with 11 additions and 1 deletions

View file

@ -53,6 +53,14 @@ class LinkCheckerError (Exception):
def get_link_pat (arg, strict=False):
"""
Get a link pattern matcher for intern/extern links.
Returns a compiled pattern and a negate and strict option.
@param arg: pattern from config
@type arg: c{string}
@param strict: if pattern is to be handled strict
@type strict: c{bool}
@return: dictionary with keys 'pattern', 'negate' and 'strict'
@rtype: c{dict}
"""
linkcheck.log.debug(LOG_CHECK, "Link pattern %r", arg)
if arg[0:1] == '!':

View file

@ -1,5 +1,7 @@
# -*- coding: iso-8859-1 -*-
"""store cached data during checking"""
"""
Store cached data during checking.
"""
# Copyright (C) 2000-2005 Bastian Kleineidam
#
# This program is free software; you can redistribute it and/or modify