Class PyUnicode

    • Field Detail

      • exposed_base

        public static final java.lang.Class exposed_base
    • Constructor Detail

      • PyUnicode

        public PyUnicode()
      • PyUnicode

        public PyUnicode​(java.lang.String string)
      • PyUnicode

        public PyUnicode​(PyType subtype,
                         java.lang.String string)
      • PyUnicode

        public PyUnicode​(PyString pystring)
      • PyUnicode

        public PyUnicode​(char c)
    • Method Detail

      • __mod__

        public PyObject __mod__​(PyObject other)
        Description copied from class: PyObject
        Equivalent to the standard Python __mod__ method
        Overrides:
        __mod__ in class PyString
        Parameters:
        other - the object to perform this binary operation with (the right-hand operand).
        Returns:
        the result of the mod, or null if this operation is not defined
      • __str__

        public PyString __str__()
        Description copied from class: PyObject
        Equivalent to the standard Python __str__ method. This method should not typically need to be overridden. The easiest way to configure the string representation of a PyObject is to override the standard Java toString method.
        Overrides:
        __str__ in class PyString
      • unicode___str__

        public PyString unicode___str__()
      • __repr__

        public PyString __repr__()
        Description copied from class: PyObject
        Equivalent to the standard Python __repr__ method. This method should not typically need to be overrriden. The easiest way to configure the string representation of a PyObject is to override the standard Java toString method.
        Overrides:
        __repr__ in class PyString
      • unicode_toString

        public java.lang.String unicode_toString()