Skip to content
/ iapy Public

Identifier Alias Python. Créer des alias d'identifiant en Python.

Notifications You must be signed in to change notification settings

4surix/iapy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IAPy

Identifier Alias Python. Créer des alias d'identifiant en Python.

Aperçu

import iapy


@iapy.alias(n = 'number')
def increment(n):
    return n + 1

increment(number = 6) == 7


@iapy.alias(couleur = 'color')
class Pomme:

    def __init__(self, couleur):

        self.couleur = couleur

pomme = Pomme(color = 'red')
pomme.color == pomme.couleur == 'red'

About

Identifier Alias Python. Créer des alias d'identifiant en Python.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages