Skip to content

Objects inherit docstring from object if not overwritten #1523

@janrg

Description

@janrg

in CPython, if an object doesn't have a docstring assigned, its __doc__ is set to None, in RustPython, it inherits the most base type from object

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPython

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions