Skip to content

fix some typos - #4

Open
robin4a4 wants to merge 1 commit into
mainfrom
fix/compose-doc-typo
Open

fix some typos#4
robin4a4 wants to merge 1 commit into
mainfrom
fix/compose-doc-typo

Conversation

@robin4a4

@robin4a4 robin4a4 commented Nov 7, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread compose_tags/tag.py
@functools.wraps(func)
def compile_func(parser, token):
name, *bits = token.split_contents()
def compile_func(parser, compose_token):

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça evite un warning de shadows name from outer scope, c'est pas grave dans ce cas la d'autant plus que tout est testé mais peut etre que pour une lib on veut éviter tous les soucis potentiels ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est préfèrable de garder token ici, et de renommer l'autre maybe_token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants