GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Adding >1 new line within a codeblock doesn't correctly match the indentation · Issue #119356 · python/cpython Closed Labels topic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:Adding more than one new line within a codeblock doesn't correctly match the indentation the previous line's indentation: For example if I start with the following codeblock: >>> def f(): ... ... a = 1 >>> and modify it to add two additional new lines in-block, I end up with the following: >>> def f(): ... ... ... ... a = 1 ... >>> Note that now, lines 2,5 have indentation, but lines 3 and 4 have no indentation. CPython versions tested on:CPython main branch Operating systems tested on:macOS Activity
MetadataMetadataAssigneesLabelstopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |