Skip to content

Commit

Permalink
Remove unnecessary decorator from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed May 7, 2023
1 parent 4abe580 commit b6cdc85
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,10 @@ class MyFormat(formats.Format):
return [".my_ext"]

@classmethod
@abstractmethod
def deserialize(cls, file_object: IO) -> dict:
# Read `file_object` and return a dictionary

@classmethod
@abstractmethod
def serialize(cls, data: dict) -> str:
# Convert `data` to a string

Expand Down

0 comments on commit b6cdc85

Please sign in to comment.