Skip to content

Conversation

remimd
Copy link
Contributor

@remimd remimd commented Sep 24, 2025

No description provided.

@remimd remimd requested a review from Copilot September 24, 2025 10:12
@remimd remimd self-assigned this Sep 24, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a minor bug in the asfunction decorator by replacing the use of MethodType with the __get__ descriptor method for creating bound methods. The change removes the dependency on the types module import and uses Python's descriptor protocol instead.

  • Removes unnecessary import of MethodType from types module
  • Replaces MethodType(wp.call, NotImplemented) with wp.call.__get__(NotImplemented)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@remimd remimd merged commit c5fbd72 into dev Sep 24, 2025
5 checks passed
@remimd remimd deleted the fix branch September 24, 2025 10:13
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.

1 participant