Show More
@@ -290,10 +290,12 b' class InputSplitter(object):' | |||||
290 | isp.push(line) |
|
290 | isp.push(line) | |
291 | print 'Input source was:\n', isp.source_reset(), |
|
291 | print 'Input source was:\n', isp.source_reset(), | |
292 | """ |
|
292 | """ | |
293 |
# A cache for |
|
293 | # A cache for storing the current indentation | |
294 | # If the first value matches self.source, the second value is an integer |
|
294 | # The first value stores the most recently processed source input | |
295 |
# number of spaces for the current indentation |
|
295 | # The second value is the number of spaces for the current indentation | |
296 | # match, self.source has changed, and the indentation must be recalculated. |
|
296 | # If self.source matches the first value, the second value is a valid | |
|
297 | # current indentation. Otherwise, the cache is invalid and the indentation | |||
|
298 | # must be recalculated. | |||
297 | _indent_spaces_cache = None, None |
|
299 | _indent_spaces_cache = None, None | |
298 | # String, indicating the default input encoding. It is computed by default |
|
300 | # String, indicating the default input encoding. It is computed by default | |
299 | # at initialization time via get_input_encoding(), but it can be reset by a |
|
301 | # at initialization time via get_input_encoding(), but it can be reset by a |
General Comments 0
You need to be logged in to leave comments.
Login now