Skip to content

Commit

Permalink
pylama fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosquito committed Aug 18, 2023
1 parent b84398e commit 9704d48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aiofile/aio.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,10 @@ async def close(self) -> None:

async def clone(self) -> "AIOFile":
"""
Increases the clone count by one, as long as the clone count is greater than zero, all ``self.close()``
calls will only decrease the clone count without really closing anything.
Increases the clone count by one, as long as the clone
count is greater than zero, all ``self.close()``
calls will only decrease the clone count without
really closing anything.
"""
async with self._clone_lock:
self._clones += 1
Expand Down

0 comments on commit 9704d48

Please sign in to comment.