فهرست منبع

Modernize super() call to use Python 3 syntax

Jelmer Vernooij 2 ماه پیش
والد
کامیت
26cbb128db
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dulwich/index.py

+ 1 - 1
dulwich/index.py

@@ -1653,7 +1653,7 @@ if sys.platform == "win32":
 
         def __init__(self, errno: int, msg: str, filename: str | None) -> None:
             """Initialize WindowsSymlinkPermissionError."""
-            super(PermissionError, self).__init__(
+            super().__init__(
                 errno,
                 f"Unable to create symlink; do you have developer mode enabled? {msg}",
                 filename,