Skip to content

Conversation

@Hanaasagi
Copy link
Contributor

In Python2, the MethodType constructor requires the obj‘s class to be passed. Compact code is copied from six https://github.com/benjaminp/six/blob/8da94b8a153ceb0d6417d76729ba75e80eaa75c1/six.py#L545-L556

@brian-brazil
Copy link
Contributor

Can you add the DCO?

Signed-off-by: Hanaasagi <ambiguous404@gmail.com>
@Hanaasagi Hanaasagi force-pushed the small-fix-for-bound-method branch from 8eb2834 to 3b48129 Compare May 8, 2019 12:08
@Hanaasagi
Copy link
Contributor Author

Is this ok?

@brian-brazil brian-brazil merged commit ae86f1c into prometheus:master Jun 19, 2019
@brian-brazil
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants