Package pywikipedia :: Module wiktionary :: Class Adjective
[show private | hide private]
[frames | no frames]

Class Adjective

Term --+
       |
      Adjective


Method Summary
  __init__(self, lang, term, gender)
  getGender(self)
  setGender(self, gender)
  showcontents(self, indentation)
Prints the contents of this Term.
    Inherited from Term
  __getitem__(self)
Documenting as an afterthought is a bad idea I don't know anymore why I added this, but I'm pretty sure it was in response to an error message
  getLang(self)
  getTerm(self)
  setLang(self, lang)
  setTerm(self, term)
  wikiwrapasexample(self, wikilang)
Returns a string with the gender in a format ready for Wiktionary, if it is applicable
  wikiwrapastranslation(self, wikilang)
Returns a string with this term as a link followed by the gender in a format ready for Wiktionary
  wikiwrapforlist(self, wikilang)
Returns a string with this term as a link followed by the gender in a format ready for Wiktionary
  wikiwrapgender(self, wikilang)
Returns a string with the gender in a format ready for Wiktionary, if it is applicable

Method Details

showcontents(self, indentation)

Prints the contents of this Term. Every subobject is indented a little further on the screen. The primary purpose is to help keep your sanity while debugging.
Overrides:
pywikipedia.wiktionary.Term.showcontents (inherited documentation)

Generated by Epydoc 2.1 on Sun Jul 03 17:07:33 2005 http://epydoc.sf.net