Skip to content

class ellipsis is public but shouldn't #3556

Closed as not planned
Closed as not planned
@davidhalter

Description

@davidhalter

Ellipsis is defined like this:

# Actually the type of Ellipsis is <type 'ellipsis'>, but since it's
# not exposed anywhere under that name, we make it private here.    
class ellipsis: ...
Ellipsis: ellipsis

However I do not see how this ellipsis does not leak. Wouldn't it be better to rename ellipsis to _ellipsis or import it from somewhere and not export it again?

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