diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-11 16:27:48 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-09-11 16:27:48 -0700 |
commit | af9e43ef4bf5e5a09e4722e0428e795b3e326506 (patch) | |
tree | 8110d5a9c09924d930d11eb9cdb619cbab7e06d3 /documentation | |
parent | 84d07dd19523a3a41385f23a744a126d00a72c79 (diff) | |
download | six-git-af9e43ef4bf5e5a09e4722e0428e795b3e326506.tar.gz |
Be more precise about what six.class_types is. (#254)
Avoids the need for users to look this up by experimentation or code inspection.
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/index.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/index.rst b/documentation/index.rst index f148b13..34a92d8 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -50,8 +50,9 @@ Six provides constants that may differ between Python versions. Ones ending .. data:: class_types - Possible class types. In Python 2, this encompasses old-style and new-style - classes. In Python 3, this is just new-styles. + Possible class types. In Python 2, this encompasses old-style + :data:`py2:types.ClassType` and new-style ``type`` classes. In Python 3, + this is just ``type``. .. data:: integer_types |