5 ms·
Just put two spaces before each line (https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc: "Text after a blank line that is indented b
by wolfgke 12y ago
Just put two spaces before each line (https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc: "Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)"):
import os
import random
def do_something(x):
if x:
fd = os.open(x)
- wolfgke 12y agoWhy the downvote?
- Scramblejams 12y agoBecause petulant children can downvote here. It was a good comment, and I learned something from it. So thanks! I wonder how a comment system that made downvotes public would do. And further, if the downvoter was required to give a one line justification. And further yet, if the downvote itself could be downvoted. Oh, scrap all that. I'd like to see would happen if downvotes were eliminated entirely, so things sorted to the top purely by upvotes.