mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
PY-63273 Remove source from NAMEDTUPLE_SPECIAL_ATTRIBUTES
GitOrigin-RevId: f4744a3818835e14e4ce41034bec13f931a2aab6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
af4f8b8015
commit
fe1d064d41
@@ -26,7 +26,7 @@ public class PyNamedTupleType extends PyTupleType implements PyCallableType {
|
||||
|
||||
@NotNull
|
||||
public static final Set<String> NAMEDTUPLE_SPECIAL_ATTRIBUTES =
|
||||
ImmutableSet.of("_make", "_asdict", "_replace", "_source", "_fields", "_field_types", "_field_defaults");
|
||||
ImmutableSet.of("_make", "_asdict", "_replace", "_fields", "_field_types", "_field_defaults");
|
||||
|
||||
@NotNull
|
||||
private final String myName;
|
||||
|
||||
@@ -7,7 +7,6 @@ c1 = Cat1("name", 5)
|
||||
print(c1._make)
|
||||
print(c1._asdict)
|
||||
print(c1._replace)
|
||||
print(c1._source)
|
||||
print(c1._fields)
|
||||
print(c1._field_types)
|
||||
print(c1._field_defaults)
|
||||
@@ -18,7 +17,6 @@ c2 = Cat2("name", 5)
|
||||
print(c2._make)
|
||||
print(c2._asdict)
|
||||
print(c2._replace)
|
||||
print(c2._source)
|
||||
print(c2._fields)
|
||||
print(c2._field_types)
|
||||
print(c2._field_defaults)
|
||||
@@ -8,7 +8,6 @@ c1 = Cat1("name", 5)
|
||||
print(c1._make)
|
||||
print(c1._asdict)
|
||||
print(c1._replace)
|
||||
print(c1._source)
|
||||
print(c1._fields)
|
||||
print(c1._field_types)
|
||||
print(c1._field_defaults)
|
||||
@@ -19,7 +18,6 @@ c2 = Cat2("name", 5)
|
||||
print(c2._make)
|
||||
print(c2._asdict)
|
||||
print(c2._replace)
|
||||
print(c2._source)
|
||||
print(c2._fields)
|
||||
print(c2._field_types)
|
||||
print(c2._field_defaults)
|
||||
Reference in New Issue
Block a user