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 hashes)

Uploaded Python 3

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