File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def __repr__(self) -> str:
5757
5858 @property
5959 def url (self ) -> str :
60- """ :class:`str`: Returns the formatted url of ID and syntax. """
60+ """:class:`str`: Returns the formatted url of ID and syntax."""
6161 syntax = f".{ self .syntax } " if self .syntax else ""
6262 return PASTE_BASE .format (self .paste_id , syntax )
6363
@@ -117,16 +117,16 @@ def __repr__(self) -> str:
117117
118118 @property
119119 def url (self ) -> str :
120- """ :class:`str`: The Paste ID's URL """
120+ """:class:`str`: The Paste ID's URL. """
121121 syntax = f".{ self .paste_syntax } " if self .paste_syntax else ""
122122 return PASTE_BASE .format (self .paste_id , syntax )
123123
124124 @property
125125 def created_at (self ) -> datetime .datetime :
126- """ :class:`datetime.datetime`: Returns a UTC datetime of when the paste was created. """
126+ """:class:`datetime.datetime`: Returns a UTC datetime of when the paste was created."""
127127 return datetime .datetime .strptime (self .paste_date , "%Y-%m-%dT%H:%M:%S.%f" )
128128
129129 @property
130130 def content (self ) -> str :
131- """ :class:`str`: Return the paste content but dedented correctly. """
131+ """:class:`str`: Return the paste content but dedented correctly."""
132132 return dedent (self .paste_content )
You can’t perform that action at this time.
0 commit comments