Reserved Names link

文字や数字で始まらないファイル名と、 "00" で始まるファイル名は Ren'Py が予約しています。 "00" と "_" で始まるファイル名は特別に Ren'Py 内部で使用されています。

Ren'Py では、単一のアンダースコア (_) から始まるすべての名前を予約しています。将来のバージョンの Ren'Py でクラッシュを起こす可能性があるため、アンダースコアから始まる名前は自身のコード内で使わないでください。

以下は、Python によって使われている名前のリストです。これらの名前を再利用すると、予期しない問題が発生します。

  • ArithmeticError

  • AssertionError

  • AttributeError

  • BaseException

  • BlockingIOError

  • BrokenPipeError

  • BufferError

  • BytesWarning

  • ChildProcessError

  • ConnectionAbortedError

  • ConnectionError

  • ConnectionRefusedError

  • ConnectionResetError

  • DeprecationWarning

  • EOFError

  • Ellipsis

  • EncodingWarning

  • EnvironmentError

  • Exception

  • False

  • FileExistsError

  • FileNotFoundError

  • FloatingPointError

  • FutureWarning

  • GeneratorExit

  • IOError

  • ImportError

  • ImportWarning

  • IndentationError

  • IndexError

  • InterruptedError

  • IsADirectoryError

  • KeyError

  • KeyboardInterrupt

  • LookupError

  • MemoryError

  • ModuleNotFoundError

  • NameError

  • None

  • NoneType

  • NotADirectoryError

  • NotImplemented

  • NotImplementedError

  • OSError

  • OverflowError

  • PPP

  • PendingDeprecationWarning

  • PermissionError

  • ProcessLookupError

  • RecursionError

  • ReferenceError

  • ResourceWarning

  • RuntimeError

  • RuntimeWarning

  • StopAsyncIteration

  • StopIteration

  • SyntaxError

  • SyntaxWarning

  • SystemError

  • SystemExit

  • TabError

  • TimeoutError

  • True

  • TypeError

  • UnboundLocalError

  • UnicodeDecodeError

  • UnicodeEncodeError

  • UnicodeError

  • UnicodeTranslateError

  • UnicodeWarning

  • UserWarning

  • ValueError

  • Warning

  • ZeroDivisionError

  • abs

  • aiter

  • all

  • anext

  • any

  • ascii

  • bin

  • bool

  • breakpoint

  • bytearray

  • bytes

  • callable

  • chr

  • classmethod

  • compile

  • complex

  • copyright

  • credits

  • delattr

  • dict

  • dir

  • divmod

  • enumerate

  • eval

  • exec

  • exit

  • filter

  • float

  • format

  • frozenset

  • getattr

  • globals

  • hasattr

  • hash

  • help

  • hex

  • id

  • input

  • int

  • isinstance

  • issubclass

  • iter

  • len

  • license

  • list

  • locals

  • map

  • max

  • memoryview

  • min

  • next

  • object

  • oct

  • open

  • ord

  • pow

  • print

  • property

  • quit

  • range

  • repr

  • reversed

  • round

  • set

  • setattr

  • slice

  • sorted

  • staticmethod

  • str

  • sum

  • super

  • tuple

  • type

  • vars

  • zip

以下は、 Ren'Py によって使われている名前のリストです。再定義される場合もありますが、注意して行わないと予期しない問題が発生します。