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

Instance methods on constants #28

Open
@rocky

Description

@rocky
(1).__nonzero__() ==  1

erroneously decompiles to

1.__nonzero__() == 1

https://github.com/rocky/python-uncompyle6/blob/f78a3fb92ea56b9ee0671ebd42af2fd7cfc6636b/uncompyle6/semantics/pysource.py#L1881-L1885 is a suggestion for how one might address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions