Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Python Outline does not seem to correctly understand a 'pass' statement. #2

Open

Description

@allanderek

Attached is a picture of this bug. Note that in the source code there is an class definition which has a single 'pass' statement:

class NoPendingGamesException(Exception):
    pass`

In the outline view however the subsequent method definitions are attached to the NoPendingGamesException class, but should not be.

c9-python-pass-outline-bug-01-04-2016

Activity

  1. allanderek commented on Apr 1, 2016

    @allanderek
    ContributorAuthor

    Update: Sorry, it's not really got anything to do with pass statements. It is simply if you have method definitions at the top-level scope. In this case the top-level definitions are "captured" by the most recent class definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions