DataClassesAsTypes icon indicating copy to clipboard operation
DataClassesAsTypes copied to clipboard

Examples for Python Presentation: "Making Data Classes Work for You"

Results 1 DataClassesAsTypes issues
Sort by recently updated
recently updated
newest added

https://github.com/BruceEckel/DataClassesAsTypes/blob/eff572124c0349663f27a0056dbaa28c14fdc139/2_encapsulation.py#L9-L13 When `0` is passed for `s`, it will evaluate to `False` and `self._number` will be range-checked instead of `s`. This means a 0-star review is possible after all. 😉