Skip to content

Document that Diff.patch can be None #467

Closed
@cvrebert

Description

@cvrebert

The current docs are simply:

Diff.patch

Patch diff string.

However, I've run into a case where patch is None (which breaks my app). None is obviously not a string, so patch's nullability ought to be documented. Clarifying in what cases it will be None would also be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions