In this thread all of the Python code is not indented, making it hard to read.
Is there some way to fix this? I see it quite a bit at stackoverflow.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this communityIn this thread all of the Python code is not indented, making it hard to read.
Is there some way to fix this? I see it quite a bit at stackoverflow.
On Stack Overflow, the ability to suggest edits to improve a post is one of the most powerful features of the platform. If you see a post with code that's improperly formatted, click the edit link below the post, and fix the formatting yourself.
Anyone can suggest edits, even new or anonymous users. However, if you have at least 2000 reputation you can edit any question or answer, without needing approval.
This is how we're able to make sure that the initial, ugly state of a question doesn't have to remain just another random snapshot of the Internet at a specific moment in time. With the edit feature, each post is cleaned up, polished, and spit-shined so that it looks awesome and helps many future visitors.
One word of caution, if you do edit a post, don't just fix the code formatting. Be sure to fix all of the problems that you see. This includes spelling, grammar, and other formatting. Your edit should be as substantial as possible for maximum effect, since a post can only be edited a certain amount of times before it's converted to community wiki, and since an edited post is bumped back to the top of the main page. If you don't fix all of the problems in a post, your edit may be rejected by the community.
{
and}
). If the indentation is missing, there's no reliable way to recreate it. – Keith Thompson Nov 28 '12 at 4:12