Skip to main content

The new pop()

Project description

vomit


Don't like using .pop() because it looks weird?

LOOK NO FURTHER

The vomit package contains a vomit() function which does the same thing as .pop(). If you really think about it, when you pop and element from a stack (Last One First Out) it's basically vomitting.

install

pip install vomit

If that doesnt work try:

pip3 install vomit

usage

from vomit import vomit
stack = [1, 2, 3, 4, 5]

puke = vomit(stack)
# puke = 5

# stack = [1, 2, 3, 4]

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

vomit-0.2-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file vomit-0.2-py3-none-any.whl.

File metadata

  • Download URL: vomit-0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for vomit-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f7c0a3552f8758b6e645179615b84c63e44318833c7b59ae41189b467a0becd
MD5 380f976ee37e2f743a38a831a037fa56
BLAKE2b-256 9c0712f8248021ae04ed664df2e032ce4c4eb9a46661b6bb6a59231b9727cd43

See more details on using hashes here.

Supported by

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