Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
markdown
/
File Content:
blockparser.pyo
� �(�Sc @@ sm d d l m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d d d � � YZ d S( i ( t unicode_literals( t absolute_importi ( t util( t odictt Statec B@ s) e Z d Z d � Z d � Z d � Z RS( u� Track the current and nested state of the parser. This utility class is used to track the state of the BlockParser and support multiple levels if nesting. It's just a simple API wrapped around a list. Each time a state is set, that state is appended to the end of the list. Each time a state is reset, that state is removed from the end of the list. Therefore, each time a state is set for a nested block, that state must be reset when we back out of that level of nesting or the state could be corrupted. While all the methods of a list object are available, only the three defined below need be used. c C@ s | j | � d S( u Set a new state. N( t append( t selft state( ( s8 /usr/lib/python2.7/site-packages/markdown/blockparser.pyt set s c C@ s | j � d S( u% Step back one step in nested state. N( t pop( R ( ( s8 /usr/lib/python2.7/site-packages/markdown/blockparser.pyt reset s c C@ s"