Staging: this is not the live site, pydocs.org.
Register a virtual subclass of an ABC.
Returns the subclass, to allow usage as a class decorator.
Changed in 3.3, 3.4
- 3.3: Returns the registered subclass, to allow usage as a class decorator.
- 3.4: To detect calls to register(), you can use the get_cache_token() function.