(cls, name, value)
| 920 | return f |
| 921 | |
| 922 | def _set_new_attribute(cls, name, value): |
| 923 | # Never overwrites an existing attribute. Returns True if the |
| 924 | # attribute already exists. |
| 925 | if name in cls.__dict__: |
| 926 | return True |
| 927 | setattr(cls, name, value) |
| 928 | return False |
| 929 | |
| 930 | |
| 931 | # Decide if/how we're going to create a hash function. Key is |
no outgoing calls
no test coverage detected
searching dependent graphs…