A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-March/002986.html below:

what to do with undocumented attributes?

[Python-Dev] SRE: what to do with undocumented attributes? [Python-Dev] SRE: what to do with undocumented attributes?Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Fri, 31 Mar 2000 01:05:15 +0200
Andrew wrote:
> >RegexObjects:
> >    code -- a PCRE code object
> >    pattern -- the source pattern
> >    groupindex -- maps group names to group indices
>=20
> pattern and groupindex are documented in the Library Reference, and
> they're part of the public interface.

hmm.  I could have sworn...   guess I didn't look carefully
enough (or someone's used his time machine again :-).

oh well, more bloat...

btw, "pattern" doesn't make much sense in SRE -- who says
the pattern object was created by re.compile?  guess I'll just
set it to None in other cases (e.g. sregex, sreverb, sgema...)

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4