01: // Copyright (c) Corporation for National Research Initiatives
02: package org.python.core;
03:
04: import java.io.Serializable;
05:
06: /**
07: * A class representing the singleton Ellipsis <code>...</code>
08: * object.
09: */
10: public class PyEllipsis extends PySingleton implements Serializable {
11: PyEllipsis() {
12: super ("Ellipsis");
13: }
14:
15: private Object writeReplace() {
16: return new Py.SingletonResolver("Ellipsis");
17: }
18:
19: }
|