]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove positional-only syntax from test file
authorBryan Forbes <bryan@reigndropsfall.net>
Thu, 8 Apr 2021 13:52:05 +0000 (08:52 -0500)
committerBryan Forbes <bryan@reigndropsfall.net>
Thu, 8 Apr 2021 13:52:05 +0000 (08:52 -0500)
test/ext/mypy/files/type_decorator.py

index f4ab4fd60c708c9ecc4c6c52b26ea8a25410739a..83f603c63e481ea559eeeb267c5c708df3e54993 100644 (file)
@@ -27,7 +27,7 @@ class IntToStr(TypeDecorator[int]):
     ) -> Optional[int]:
         return int(value) if value is not None else value
 
-    def copy(self, /, **kwargs: Any) -> "IntToStr":
+    def copy(self, **kwargs: Any) -> "IntToStr":
         return IntToStr(self.impl.length)