Revert "Add {Method,UnboundMethod}#{public?,private?,protected?}"
This reverts commit 27278150685e738f84105d09843d3ba371146c7a and 58dc8bf8f15df9a33d191074e8a5d4946a3d59d5.
Visibility is an attribute of the method entry in a class, not an attribute of the Method object.
Fixes [#18729] Fixes [#18751] Fixes [#18435]
Revert "Add {Method,UnboundMethod}#{public?,private?,protected?}"
This reverts commit 27278150685e738f84105d09843d3ba371146c7a and
58dc8bf8f15df9a33d191074e8a5d4946a3d59d5.
Visibility is an attribute of the method entry in a class, not an
attribute of the Method object.
Fixes [#18729]
Fixes [#18751]
Fixes [#18435]