python - Is it acceptable to refer a variable to itself? -



python - Is it acceptable to refer a variable to itself? -

e.g.

blob_info = upload_files[0] blob_info = blob_info.key()

or improve do

blob_info = (upload_files[0]).key()

i prefer splitting things create them more readable

blob_info = upload_files[0] blob_key = blob_info.key()

makes more sense me. or event better, refer blob_info.key() whenever it's needed.

python google-app-engine

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

r - url in CRAN extension manual -

asp.net - .NET Control.ID property inconsistency -