Show More
@@ -269,7 +269,7 b' def fill76(text):' | |||||
269 | def firstline(text): |
|
269 | def firstline(text): | |
270 | """Any text. Returns the first line of text.""" |
|
270 | """Any text. Returns the first line of text.""" | |
271 | try: |
|
271 | try: | |
272 |
return text.splitlines( |
|
272 | return text.splitlines()[0] | |
273 | except IndexError: |
|
273 | except IndexError: | |
274 | return b'' |
|
274 | return b'' | |
275 |
|
275 |
General Comments 0
You need to be logged in to leave comments.
Login now