Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add __self__ and __self_class__ property accessor for super #3610

Closed
@Snowapril

Description

@Snowapril

Feature

Add __self__ and __self_class__ for PySuper. Please refer this PR #3601
For now, obj field in RustPython have both for obj and obj_type in cpython. See below link

Python Documentation

https://github.com/python/cpython/blob/main/Objects/typeobject.c#L8755-L8772

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions