aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-03-21 10:13:05 -0400
committerWaylan Limberg <waylan@gmail.com>2012-03-21 10:13:05 -0400
commitb3e0359421ee0a649975ca29635ac8c0d7cf7641 (patch)
treec69522a2ec75e7a8a515c4d698613185bc2560c1 /bin
parent4dd11abae221fdd76d863487fac16ee45b05c96b (diff)
downloadmarkdown-b3e0359421ee0a649975ca29635ac8c0d7cf7641.tar.gz
markdown-b3e0359421ee0a649975ca29635ac8c0d7cf7641.tar.bz2
markdown-b3e0359421ee0a649975ca29635ac8c0d7cf7641.zip
Allow blockprocessor.run to return True or False.
This allows the run method to determine if a block is or is not a match in the midst of parsing outside of the test method. The goal is to eliminate the often redundant test method in the future. In the interim, it remains and if the run method returns None, the existing behavior is maintained. Returning None may generate a DepreciationWarning later. Note that test must still return True to even get to the run method.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions