Movatterモバイル変換


[0]ホーム

URL:


PEP 245: Python interfaces

Clark C. Evanscce at clarkevans.com
Wed Apr 4 08:40:13 EDT 2001


On Sat, 31 Mar 2001, Scottie wrote:> The one further thing I'd like to see is a way to declare that a class> implements an interface without having to edit either the interface> or the class -- Imagine the situation where I obtain two packages,> and I want to tell the one package that it can accept objects from> the other.This is very similar to what PEP 246 is attempting to address.It covers "bi-directional" case.  The case you mention is moreof a third party registry, it is addressed in case "e" of the PEP,and could be added later if necessary.Clark


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp