Skip to content

synt.code ¤

IntoCode ¤

Source code in synt/code.py
class IntoCode(metaclass=ABCMeta):
    @abstractmethod
    def into_code(self) -> str:
        """Converts the object into a string of Python code."""

into_code abstractmethod ¤

into_code() -> str

Converts the object into a string of Python code.

Source code in synt/code.py
@abstractmethod
def into_code(self) -> str:
    """Converts the object into a string of Python code."""