摘要:
原理:利用元类型,重新定义类实例化一个新对象的方法(__call__)行为。让其只返回同一个实例。#-*- coding: UTF-8 -*-#-------------------------------------------------------------------------------# Name: ģ��shell# Purpose: Ӧ�ó����main��ں���## Author: ankier## Created: 26-10-2012# Copyright: (c) ankier 2012# Licence: <... 阅读全文
posted @ 2012-12-24 20:41
|残阳|露
阅读(251)
评论(0)
推荐(0)

浙公网安备 33010602011771号