Skip to content

base.py exposes protected attributes #46

Description

@jonathan-benn

In base.py, there are several entities (attributes, methods, classes), including the following:

Pure
wrap2spy
unwrap
wrap2stub
args_type
pure
obj
prop
orig_func

These entities should probably be renamed to add a _ prefix (protected), to discourage end-users from trying to use them. The entities should be protected because they are used in child classes like SinonSpy and SinonStub.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions