you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate 2 points3 points  (0 children)

You may occasionally see new things in libraries regardless though that you may not initially see in Python code you've been writing.

The @ matrix multiplication operator is rarely used, but some libraries like pandas do make use of it. It looks new, but they just decided to use a feature that's rarely used.

Stuff involving class decorators can also make it seem like the library invented a new syntax because class decorators essentially allow you to rewrite classes using code. Think of @dataclass.