def _getW(self):
w = self._w<EOL>if type(w) is list:<EOL><INDENT>return w[self._random.getUInt32(len(w))]<EOL><DEDENT>else:<EOL><INDENT>return w<EOL><DEDENT>
Gets a value of `w` for use in generating a pattern.