Skip to main content

Assorted decorator functions.

Project description

Assorted decorator functions.

Function decorator(deco, *da, **dkw)

Wrapper for decorator functions to support optional keyword arguments.

Examples:

@decorator
def dec(func, **dkw):
  ...
@dec
def func1(...):
  ...
@dec(foo='bah')
def func2(...):
  ...

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cs.deco-20181227.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file cs.deco-20181227.tar.gz.

File metadata

  • Download URL: cs.deco-20181227.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6

File hashes

Hashes for cs.deco-20181227.tar.gz
Algorithm Hash digest
SHA256 9ae8c89a140e9e5dd89251956136e711bdc01376255deb14ae7021e25303136d
MD5 f8e02c3e5248c1084d4c03b2c0c7933d
BLAKE2b-256 fe3adfd014392be2f1ed77596dd823ba1b03dca982c04a2865f46c5531b309c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page