This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import functools | |
class der(object): | |
def __init__(self, h): | |
if isinstance(h, float): | |
self.h = h | |
else: | |
self.h = sys.float_info.epsilon*1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OV | |
def vals | |
['a', 'b', 'c'] | |
end | |
# this will make this work: | |
# OV.new == 'a' | |
# true | |
# OV.new == 'b' | |
# true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am pielgrzym on github. | |
* I am pielgrzym (https://keybase.io/pielgrzym) on keybase. | |
* I have a public key whose fingerprint is 661F 1ECA AD56 830A 98CC AC29 6549 E7D0 F0EB 09F8 | |
To claim this, I am signing this object: |
OlderNewer