Metadata-Version: 2.1
Name: ref_type
Version: 1.0.0
Summary: Referencable objects for Python.
Home-page: https://github.com/xzripper/ref_type
Download-URL: https://github.com/xzripper/time_manager/archive/refs/tags/v1.0.0.tar.gz
Author: Ivan Perzhinsky.
Author-email: name1not1found.com@gmail.com
License: MIT
Keywords: type,reference,utility
Classifier: Development Status :: 5 - Production/Stable 
Classifier: Intended Audience :: Developers
Classifier: Typing :: Typed
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/x-rst
License-File: LICENSE.txt

======================
Referencable objects.
======================

**Referencable objects in Python.**


.. code :: python

    from ref_type import ref


    ref1: ref[int] = ref(1)
    ref2: ref[int] = ref(1)


    def add(r1: ref[int], r2: ref[int]) -> None:
        r1 += r2


    add(ref1, ref2)

    print(ref1) # => 2


Use `.get()` to get value, `.ilshift(X)` to do LeftShiftEquals.
