From 3e9bf10e70acfd729db14baafba02503200f2398 Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Mon, 1 Jun 2020 22:04:18 -0400 Subject: [PATCH] docs: updated properties.py docstrings --- pytiled_parser/properties.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pytiled_parser/properties.py b/pytiled_parser/properties.py index 9fda86d..d40938c 100644 --- a/pytiled_parser/properties.py +++ b/pytiled_parser/properties.py @@ -28,14 +28,14 @@ class RawProperties(TypedDict): value: RawProperty -def cast(raw_properties: List[RawProperties]) -> Dict[str, Property]: - """ Cast raw properties into a dictionary of completed properly typed properties. +def cast(raw_properties: List[RawProperties]) -> Properties: + """ Cast a list of `RawProperties` into `Properties` Args: - raw_properties: The list of raw properties to cast. + raw_properties: The list of `RawProperty`s to cast. Returns: - Dict[str, Property]: The completed dictionary of casted properties. + Properties: The casted `Properties`. """ final: Properties = {}