doc_rejoined = ''.join(doc) should have been
doc_rejoined = ''.join(doclines)
I made the correction my edit and also improved the wording, which in my opinion was/is sloppy and informal. However, the community rejected the edit and approved a later edit where only the bug was corrected.
I'm asking because I'm a new user trying to contribute to the site. But if verbose edits aren't welcome I don't want to waste my time writing them. Should I restrict suggested edits to minor changes only? I want to contribute in a way that is desired by the community. What are the guidelines for editing posts?