RE: All leading tabs or all leading spaces - why isn't that enforced?

John Nagle wrote:
> One can argue over tab vs. space indentation, but mixing the two
> is just wrong. Why not have CPython report an error if a file has
> both leading tabs and leading spaces? I know that was proposed at
> some point, but I don't think it ever went in. That would catch a
> common error introduced during maintenance.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!