Fixed a typo, moved a message to resources.

This commit is contained in:
Dmitry Cheryasov
2010-05-16 18:59:25 +03:00
parent 2a402f858c
commit aa3f5ef555
2 changed files with 2 additions and 1 deletions
@@ -237,6 +237,7 @@ INSP.NAME.byte.literal=Byte literal contains characters > 127
# PyTupleItemAssignmentInspection
INSP.NAME.tuple.item.assignment=Tuple item assignment
INSP.tuples.never.assign.items=Tuples don't support item assignment
# Refactoring
# introduce
@@ -68,7 +68,7 @@ public class PyTupleItemAssignmentInspection extends LocalInspectionTool {
PyExpression expression = (PyExpression)element;
PyType type = expression.getType(TypeEvalContext.fast());
if (type instanceof PyTupleType) {
registerProblem(node, "Tuples doesn't support item assignment");
registerProblem(node, PyBundle.message("INSP.tuples.never.assign.items"));
}
}
}