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:
57
57
58
58
@property
59
59
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."""
61
61
syntax = f".{ self .syntax } " if self .syntax else ""
62
62
return PASTE_BASE .format (self .paste_id , syntax )
63
63
@@ -117,16 +117,16 @@ def __repr__(self) -> str:
117
117
118
118
@property
119
119
def url (self ) -> str :
120
- """ :class:`str`: The Paste ID's URL """
120
+ """:class:`str`: The Paste ID's URL. """
121
121
syntax = f".{ self .paste_syntax } " if self .paste_syntax else ""
122
122
return PASTE_BASE .format (self .paste_id , syntax )
123
123
124
124
@property
125
125
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."""
127
127
return datetime .datetime .strptime (self .paste_date , "%Y-%m-%dT%H:%M:%S.%f" )
128
128
129
129
@property
130
130
def content (self ) -> str :
131
- """ :class:`str`: Return the paste content but dedented correctly. """
131
+ """:class:`str`: Return the paste content but dedented correctly."""
132
132
return dedent (self .paste_content )
You can’t perform that action at this time.
0 commit comments