Skip to content

Explain black magic of Calendar.from_jcal in API design reference docs #1161

@stevepiercy

Description

@stevepiercy

This looks like black magic to me because the link to the method does not align with the code sample. There's no Calendar.from_jcal method in the icalendar.cal.calendar module, yet the code example works! Is the black magic in icalendar.cal.component?

I think we need to explain this black magic somewhere in the API design document, and reference it here in the description of the code example.

Originally posted by @stevepiercy in #1122 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions