Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commands: simplify s[:] to s #715

Merged
merged 1 commit into from
Oct 4, 2018
Merged

commands: simplify s[:] to s #715

merged 1 commit into from
Oct 4, 2018

Conversation

quasilyte
Copy link
Contributor

If s is a slice, then s[:] is identical to just s.

Signed-off-by: Iskander Sharipov quasilyte@gmail.com

If s is a slice, then `s[:]` is identical to just `s`.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
@kotakanbe kotakanbe merged commit 6da8b3c into future-architect:master Oct 4, 2018
@kotakanbe
Copy link
Member

Many Thanks!

@quasilyte quasilyte deleted the quasilyte/unslice branch October 4, 2018 04:06
kotakanbe added a commit that referenced this pull request Oct 4, 2018
* master:
  config: remove commented-out code from tomlloader (#714)
  commands: simplify `s[:]` to s (#715)
  report: simplify `x = x <op> y` to `x <op>= y` (#716)
  change syslog pkg (#717)
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.

None yet

2 participants