From a160d556b6255f2953f1be0f12a040d85a5f0bfe Mon Sep 17 00:00:00 2001 From: detachhead Date: Tue, 25 Jun 2024 21:28:57 +1000 Subject: [PATCH] improve wording on `reportUnsafeMultipleInheritance` error message --- .../pyright-internal/src/localization/package.nls.en-us.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pyright-internal/src/localization/package.nls.en-us.json b/packages/pyright-internal/src/localization/package.nls.en-us.json index a037725f0..7361299be 100644 --- a/packages/pyright-internal/src/localization/package.nls.en-us.json +++ b/packages/pyright-internal/src/localization/package.nls.en-us.json @@ -629,7 +629,7 @@ "typeIgnoreCommentWithoutRule": "`type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`)", "implicitRelativeImport": "Import from `{importName}` is implicitly relative and will not work if this file is imported as a module", "invalidCast": "Conversion of type `{fromType}` to type `{toType}` may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to `object` first.", - "multipleInheritance": "Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: {classes}" + "multipleInheritance": "Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: {classes}" }, "DiagnosticAddendum": { "annotatedNotAllowed": "\"Annotated\" special form cannot be used with instance and class checks",