chiark / gitweb /
documentation/python: enum.IntFlag in newer Python doesn't like NPOT.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 21:23:49 +0000 (23:23 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 23:48:41 +0000 (01:48 +0200)
commit97533e918960c92f6d2ca97a47fa15f9617d41f5
tree2cbed5e760b1f02885fc5348a7e35243e373f80a
parentb56cad3b4b50da5968b9462e4b9d128c57cd4fdb
documentation/python: enum.IntFlag in newer Python doesn't like NPOT.

The FLAG_SEVENTEEN _is_ there if I explicitly call it, but it doesn't
show up in autocompletion or help. Turning it into a power-of-two value
makes it appear.

Heh. Heh.
documentation/test_python/inspect_all_property/inspect_all_property.html
documentation/test_python/inspect_all_property/inspect_all_property/__init__.py
documentation/test_python/inspect_string/inspect_string.Foo.html
documentation/test_python/inspect_string/inspect_string.html
documentation/test_python/inspect_string/inspect_string/__init__.py