Home | History | Annotate | Download | only in python2.7

Lines Matching full:line

25     quoted.  Note that line-ending tabs and spaces are always encoded, as per
47 quoted. Note that line-ending tabs and spaces are always encoded, as per
60 # RFC 1521 requires that the line ending in a space or tab must have
71 line = input.readline()
72 if not line:
77 if line[-1:] == '\n':
78 line = line[:-1]
80 # Calculate the un-length-limited encoded line
81 for c in line:
88 # First, write out the previous line
91 # Now see if we need any soft line breaks because of RFC-imposed
95 # Don't forget to include the soft line break `=' sign in the
99 # Write out the current line
101 # Write out the last line, without a trailing newline
129 line = input.readline()
130 if not line: break
131 i, n = 0, len(line)
132 if n > 0 and line[n-1] == '\n':
135 while n > 0 and line[n-1] in " \t\r":
140 c = line[i]
147 elif i+1 < n and line[i+1] == ESCAPE:
149 elif i+2 < n and ishex(line[i+1]) and ishex(line[i+2]):
150 new = new + chr(unhex(line[i+1:i+3])); i = i+3