We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c0554 commit 5aab429Copy full SHA for 5aab429
src/serializers/ob_type.rs
@@ -290,7 +290,8 @@ impl ObTypeLookup {
290
/// We care about order here since:
291
/// 1. we pay a price for each `isinstance` call
292
/// 2. some types are subclasses of others, e.g. `bool` is a subclass of `int`
293
- /// hence we put common types first
+ /// hence we put common types first
294
+ ///
295
/// In addition, some types have inheritance set as a bitflag on the type object:
296
/// https://github.com/python/cpython/blob/v3.12.0rc1/Include/object.h#L546-L553
297
/// Hence they come first
0 commit comments