[docs] [issue31369] re.RegexFlag is not included in __all__, makes type inference less useful

Ethan Furman report at bugs.python.org
Mon Mar 25 14:05:39 EDT 2019


Ethan Furman <ethan at stoneleaf.us> added the comment:

I see no reason no prefix `RegexFlag` with an `_`.

As far as adding it to `__all__` -- I didn't originally because I was trying to mirror the original implementation, but I am not against it.  I would defer that decision to those that work on typing.

----------
assignee: docs at python -> 
components:  -Documentation
nosy: +gvanrossum, levkivskyi
title: re.RegexFlag is not included in __all__ -> re.RegexFlag is not included in __all__, makes type inference less useful

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31369>
_______________________________________


More information about the docs mailing list