Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Type hints and style
Post: Type hints and style

So, I am struggeling with type hints in function definitions. Annotated function definitons cause formatting issues in the simplest cases. They force one to line break the definition, which is, howeve...
MaxPowers General Coding Help 1 1,865 Feb-15-2020, 11:00 PM
    Thread: Decorator vs. evaluate function in function
Post: Decorator vs. evaluate function in function

Hi there, in my project I use assertation functions similar to the one below to perform, for example, bounds checking: def assert_greater_zero(x): if x < 0.0: raise ValueError('x out...
MaxPowers General Coding Help 1 1,763 Dec-09-2018, 01:33 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020