• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Descriptors
 

Descriptors

on

  • 211 views

 

Statistics

Views

Total Views
211
Views on SlideShare
162
Embed Views
49

Actions

Likes
0
Downloads
1
Comments
0

1 Embed 49

http://lanyrd.com 49

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Descriptors Descriptors Presentation Transcript

    • .Honza Král@honzakral
    • __getattribute__
    • >>> a = B()>>> a.xAttributeError: No x here!
    • >>> a = B()>>> a.f()TypeError: f() missing 1 required positional argument: self
    • @property
    • super()
    • >>> b = B()>>> b.f(42, other=True)B.f(*(42,), **{other: True}A.f(*(42,), **{other: True}
    • ?