code: def defan(self, pattern):
          
          self.checkpat(pattern)
          self.A_a_user_defined.extend((pattern, "an"))
          return 1
docs: Define the indefinate article as 'an' for words matching pattern.