File: dtypes.py

package info (click to toggle)
python-pyforge 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 464 kB
  • sloc: python: 3,666; makefile: 12; sh: 7
file content (8 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
from .constants import WILDCARD_DESCRIPTION

WILDCARD_FUNCTION = lambda *args, **kwargs: None
WILDCARD_FUNCTION.__name__ = WILDCARD_DESCRIPTION

# unfortunately there doesn't appear to be another way of getting
# this type
MethodDescriptorType = type(dict.get)