1
qiao 2011-09-11 21:31:37 +08:00
Python 标准库中几个 Mixin 类的命名:
DictMixin ThreadingMixIn ForkingMixIn 另外,我直接在我系统上的python的库目录中 ack 了一下,找到了其它许多的命名: ResultMixin VersionedFileTestMixIn DocFrameMixIn DocMDIParentFrameMixIn TLSAsyncDispatherMixIn TLSSocketServerMixIn _RelockDebugMixin PreCannedServerMixin BashCompletionMixin UIFactoryTestMixin WSGITestMixin bzrlib 的 Test Mixins: TestSendMixin TestLogMixin TestRememberMixin TestPushStrictMixin TestOptionsMixin TestingHTTPSServerMixin .....此处省略一大堆 Test XXX Mixin 然后是 wx-python 的一堆Mixin: MaskedEditMixin TimeCtrlAccessorsMixin ShellFrameMixin AppEventHandlerMixin ProcessBufferMixin ClearMixin 然后是 django 的: MultipleObjectMixin DateMixin YearMixin MonthMixin DayMixin WeekMixin TemplateResponseMixin SpatialRefSysMixin ..... |