Table of contents Index

class IRCDict - A dictionary suitable for storing IRC-related things.

Declared in module ircbot

Synopsis

class IRCDict:
    def __cmp__(self, dict)
    def __delitem__(self, key)
    def __getitem__(self, key)
    def __init__(self, dict=None)
    def __len__(self)
    def __repr__(self)
    def __setitem__(self, key, item)
    def clear(self)
    def copy(self)
    def get(self, key, failobj=None)
    def has_key(self, key)
    def items(self)
    def keys(self)
    def update(self, dict)
    def values(self)

Description

Dictionary keys a and b are considered equal if and only if irc_lower(a) == irc_lower(b)

Otherwise, it should behave exactly as a normal dictionary.


Valid HTML 4.0! Made with CSS